Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/unhandledOops.hpp @ 10271:f9be75d21404
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
author | minqi |
---|---|
date | Tue, 14 May 2013 09:41:12 -0700 |
parents | f95d63e2154a |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/runtime/unhandledOops.hpp Tue May 14 11:34:30 2013 +0400 +++ b/src/share/vm/runtime/unhandledOops.hpp Tue May 14 09:41:12 2013 -0700 @@ -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 UnhandledOops { +class UnhandledOops : public CHeapObj<mtThread> { friend class Thread; private: Thread* _thread;