src/share/vm/code/codeBlob.hpp

Print this page

        

@@ -207,11 +207,11 @@
  private:
   // Creation support
   BufferBlob(const char* name, int size);
   BufferBlob(const char* name, int size, CodeBuffer* cb);
 
-  void* operator new(size_t s, unsigned size) throw();
+  void* operator new(size_t s, unsigned size, bool is_critical = false) throw();
 
  public:
   // Creation
   static BufferBlob* create(const char* name, int buffer_size);
   static BufferBlob* create(const char* name, CodeBuffer* cb);

@@ -251,11 +251,10 @@
 // MethodHandlesAdapterBlob: used to hold MethodHandles adapters
 
 class MethodHandlesAdapterBlob: public BufferBlob {
 private:
   MethodHandlesAdapterBlob(int size)                 : BufferBlob("MethodHandles adapters", size) {}
-  MethodHandlesAdapterBlob(int size, CodeBuffer* cb) : BufferBlob("MethodHandles adapters", size, cb) {}
 
 public:
   // Creation
   static MethodHandlesAdapterBlob* create(int buffer_size);