aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/runtime/unhandledOops.hpp
diff options
context:
space:
mode:
authorminqi <none@none>2013-05-14 09:41:12 -0700
committerminqi <none@none>2013-05-14 09:41:12 -0700
commitcb5be34076df87331eaa9788afcccdce98e27e07 (patch)
treeec3eec28a631b1c6c60d3667c05d3d40c860a49d /src/share/vm/runtime/unhandledOops.hpp
parent132d94fcbfc7014e997f4b3d897d02a5d24f76a8 (diff)
8012902: remove use of global operator new - take 2
Summary: The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms. Reviewed-by: coleenp, dholmes, zgu Contributed-by: yumin.qi@oracle.com
Diffstat (limited to 'src/share/vm/runtime/unhandledOops.hpp')
-rw-r--r--src/share/vm/runtime/unhandledOops.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/runtime/unhandledOops.hpp b/src/share/vm/runtime/unhandledOops.hpp
index 97fd85431..5f65d1536 100644
--- a/src/share/vm/runtime/unhandledOops.hpp
+++ b/src/share/vm/runtime/unhandledOops.hpp
@@ -48,7 +48,7 @@
class oop;
class Thread;
-class UnhandledOopEntry {
+class UnhandledOopEntry : public CHeapObj<mtThread> {
friend class UnhandledOops;
private:
oop* _oop_ptr;
@@ -62,7 +62,7 @@ class UnhandledOopEntry {
};
-class UnhandledOops {
+class UnhandledOops : public CHeapObj<mtThread> {
friend class Thread;
private:
Thread* _thread;