jdk/src/share/instrument/Reentrancy.c
changeset 282 bca3e5a71df1
parent 2 90ce3da70b43
child 715 f16baef3a20e
--- a/jdk/src/share/instrument/Reentrancy.c	Mon Mar 24 16:59:07 2008 -0700
+++ b/jdk/src/share/instrument/Reentrancy.c	Mon Mar 24 17:12:01 2008 -0700
@@ -74,6 +74,7 @@
                                     jvmtienv,
                                     thread,
                                     newValue);
+    check_phase_ret_blob(error, error);
 
 #if JPLISASSERT_ENABLEASSERTIONS
     assertTLSValue( jvmtienv,
@@ -96,6 +97,7 @@
                                 jvmtienv,
                                 thread,
                                 &test);
+    check_phase_ret(error);
     jplis_assert(error == JVMTI_ERROR_NONE);
     jplis_assert(test == expected);
 }
@@ -111,6 +113,7 @@
                                 jvmtienv,
                                 thread,
                                 &storedValue);
+    check_phase_ret_false(error);
     jplis_assert(error == JVMTI_ERROR_NONE);
     if ( error == JVMTI_ERROR_NONE ) {
         /* if this thread is already inside, just return false and short-circuit */