equal
deleted
inserted
replaced
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; |