hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
changeset 35492 c8c0273e6b91
parent 33589 7cbd1b2c139b
child 36508 5f9eee6b383b
equal deleted inserted replaced
35491:663c609dfeee 35492:c8c0273e6b91
    93 
    93 
    94   // Add this environment to the end of the environment list (order is important)
    94   // Add this environment to the end of the environment list (order is important)
    95   {
    95   {
    96     // This block of code must not contain any safepoints, as list deallocation
    96     // This block of code must not contain any safepoints, as list deallocation
    97     // (which occurs at a safepoint) cannot occur simultaneously with this list
    97     // (which occurs at a safepoint) cannot occur simultaneously with this list
    98     // addition.  Note: No_Safepoint_Verifier cannot, currently, be used before
    98     // addition.  Note: NoSafepointVerifier cannot, currently, be used before
    99     // threads exist.
    99     // threads exist.
   100     JvmtiEnvIterator it;
   100     JvmtiEnvIterator it;
   101     JvmtiEnvBase *previous_env = NULL;
   101     JvmtiEnvBase *previous_env = NULL;
   102     for (JvmtiEnvBase* env = it.first(); env != NULL; env = it.next(env)) {
   102     for (JvmtiEnvBase* env = it.first(); env != NULL; env = it.next(env)) {
   103       previous_env = env;
   103       previous_env = env;