hotspot/src/share/vm/memory/allocation.hpp
changeset 14841 d069f5506f71
parent 14579 7f6ce6e3dd80
child 15452 3bfde2dea09d
--- a/hotspot/src/share/vm/memory/allocation.hpp	Mon Dec 17 08:49:20 2012 +0100
+++ b/hotspot/src/share/vm/memory/allocation.hpp	Mon Dec 17 15:25:26 2012 +0100
@@ -202,7 +202,7 @@
 // Calling new or delete will result in fatal error.
 
 class StackObj ALLOCATION_SUPER_CLASS_SPEC {
- public:
+ private:
   void* operator new(size_t size);
   void  operator delete(void* p);
 };
@@ -226,7 +226,7 @@
 // be defined as a an empty string "".
 //
 class _ValueObj {
- public:
+ private:
   void* operator new(size_t size);
   void operator delete(void* p);
 };