< prev index next >
src/hotspot/share/prims/jvm.cpp
Print this page
rev 49250 : [mq]: JDK-8199781.patch
@@ -1362,11 +1362,11 @@
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)) {
+ 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 >