< prev index next >
src/hotspot/share/adlc/arena.hpp
Print this page
@@ -23,21 +23,16 @@
*/
#ifndef SHARE_VM_ADLC_ARENA_HPP
#define SHARE_VM_ADLC_ARENA_HPP
-// All classes in the virtual machine must be subclassed
+// All classes in adlc may be subclassed
// by one of the following allocation classes:
//
-//
// For objects allocated in the C-heap (managed by: free & malloc).
// - CHeapObj
//
-//
-// For embedded objects.
-// - ValueObj
-//
// For classes used as name spaces.
// - AllStatic
//
class CHeapObj {
@@ -46,19 +41,10 @@
void operator delete(void* p);
void* new_array(size_t size);
};
-// Base class for objects used as value objects.
-// Calling new or delete will result in fatal error.
-
-class ValueObj {
- public:
- void* operator new(size_t size) throw();
- void operator delete(void* p);
-};
-
// Base class for classes that constitute name spaces.
class AllStatic {
public:
void* operator new(size_t size) throw();
< prev index next >