src/share/vm/code/codeBlob.hpp

Print this page

        

*** 99,108 **** --- 99,109 ---- virtual bool is_deoptimization_stub() const { return false; } virtual bool is_uncommon_trap_stub() const { return false; } virtual bool is_exception_stub() const { return false; } virtual bool is_safepoint_stub() const { return false; } virtual bool is_adapter_blob() const { return false; } + virtual bool is_vtable_blob() const { return false; } virtual bool is_method_handles_adapter_blob() const { return false; } virtual bool is_compiled_by_c2() const { return false; } virtual bool is_compiled_by_c1() const { return false; }
*** 200,209 **** --- 201,211 ---- // BufferBlob: used to hold non-relocatable machine code such as the interpreter, stubroutines, etc. class BufferBlob: public CodeBlob { friend class VMStructs; friend class AdapterBlob; + friend class VtableBlob; friend class MethodHandlesAdapterBlob; private: // Creation support BufferBlob(const char* name, int size);
*** 244,254 **** --- 246,268 ---- // Typing virtual bool is_adapter_blob() const { return true; } }; + //--------------------------------------------------------------------------------------------------- + class VtableBlob: public BufferBlob { + private: + VtableBlob(const char*, int); + public: + // Creation + static VtableBlob* create(const char* name, int buffer_size); + + // Typing + virtual bool is_vtable_blob() const { return true; } + }; + //---------------------------------------------------------------------------------------------------- // MethodHandlesAdapterBlob: used to hold MethodHandles adapters class MethodHandlesAdapterBlob: public BufferBlob { private: