Skip to content

Commit

Permalink
Update comment in jvmti test.
Browse files Browse the repository at this point in the history
  • Loading branch information
coleenp committed Nov 19, 2020
1 parent 9ef44f2 commit 40168e6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -70,7 +70,8 @@ JNIEXPORT void JNICALL
Java_nsk_jvmti_AttachOnDemand_attach021_attach021Target_shutdownAgent(JNIEnv * jni,
jclass klass) {

/* Flush any pending ObjectFree events, which may set success to 1 */
/* Flush any pending ObjectFree events, which will set global success variable to 1
for any pending ObjectFree events. */
if (jvmti->SetEventNotificationMode(JVMTI_DISABLE,
JVMTI_EVENT_OBJECT_FREE,
NULL) != JVMTI_ERROR_NONE) {
Expand Down

0 comments on commit 40168e6

Please sign in to comment.