< prev index next >
src/share/vm/prims/jvmtiThreadState.cpp
Print this page
@@ -84,11 +84,11 @@
// link us into the list
{
// The thread state list manipulation code must not have safepoints.
// See periodic_clean_up().
- debug_only(No_Safepoint_Verifier nosafepoint;)
+ debug_only(NoSafepointVerifier nosafepoint;)
_prev = NULL;
_next = _head;
if (_head != NULL) {
_head->_prev = this;
@@ -121,11 +121,11 @@
// remove us from the list
{
// The thread state list manipulation code must not have safepoints.
// See periodic_clean_up().
- debug_only(No_Safepoint_Verifier nosafepoint;)
+ debug_only(NoSafepointVerifier nosafepoint;)
if (_prev == NULL) {
assert(_head == this, "sanity check");
_head = _next;
} else {
@@ -145,11 +145,11 @@
JvmtiThreadState::periodic_clean_up() {
assert(SafepointSynchronize::is_at_safepoint(), "at safepoint");
// This iteration is initialized with "_head" instead of "JvmtiThreadState::first()"
// because the latter requires the JvmtiThreadState_lock.
- // This iteration is safe at a safepoint as well, see the No_Safepoint_Verifier
+ // This iteration is safe at a safepoint as well, see the NoSafepointVerifier
// asserts at all list manipulation sites.
for (JvmtiThreadState *state = _head; state != NULL; state = state->next()) {
// For each environment thread state corresponding to an invalid environment
// unlink it from the list and deallocate it.
JvmtiEnvThreadStateIterator it(state);
@@ -180,11 +180,11 @@
JvmtiEnvThreadState *new_ets = new JvmtiEnvThreadState(_thread, env);
// add this environment thread state to the end of the list (order is important)
{
// list deallocation (which occurs at a safepoint) cannot occur simultaneously
- debug_only(No_Safepoint_Verifier nosafepoint;)
+ debug_only(NoSafepointVerifier nosafepoint;)
JvmtiEnvThreadStateIterator it(this);
JvmtiEnvThreadState* previous_ets = NULL;
for (JvmtiEnvThreadState* ets = it.first(); ets != NULL; ets = it.next(ets)) {
previous_ets = ets;
< prev index next >