< prev index next >

src/hotspot/share/prims/jvm.cpp

roman_version

*** 1362,1372 **** protection_domain = thread->privileged_stack_top()->protection_domain(); } else { protection_domain = method->method_holder()->protection_domain(); } ! if ((previous_protection_domain != protection_domain) && (protection_domain != NULL)) { local_array->push(protection_domain); previous_protection_domain = protection_domain; } if (is_privileged) break; --- 1362,1372 ---- protection_domain = thread->privileged_stack_top()->protection_domain(); } else { protection_domain = method->method_holder()->protection_domain(); } ! if ((!oopDesc::equals(previous_protection_domain, protection_domain)) && (protection_domain != NULL)) { local_array->push(protection_domain); previous_protection_domain = protection_domain; } if (is_privileged) break;
< prev index next >