--- a/hotspot/src/share/vm/asm/codeBuffer.hpp Tue Aug 03 08:13:38 2010 -0400
+++ b/hotspot/src/share/vm/asm/codeBuffer.hpp Mon Aug 09 17:51:56 2010 -0700
@@ -278,7 +278,7 @@
// special case during expansion which is handled internally. This
// is done to guarantee proper cleanup of resources.
void* operator new(size_t size) { return ResourceObj::operator new(size); }
- void operator delete(void* p) { ResourceObj::operator delete(p); }
+ void operator delete(void* p) { ShouldNotCallThis(); }
public:
typedef int csize_t; // code size type; would be size_t except for history