hotspot/src/share/vm/code/codeCache.hpp
changeset 46647 634dc786bf96
parent 46632 cef226af6c02
child 46727 6e4a84748e2c
equal deleted inserted replaced
46646:5165b3a5b44a 46647:634dc786bf96
   100   static void initialize_heaps();                             // Initializes the CodeHeaps
   100   static void initialize_heaps();                             // Initializes the CodeHeaps
   101   // Check the code heap sizes set by the user via command line
   101   // Check the code heap sizes set by the user via command line
   102   static void check_heap_sizes(size_t non_nmethod_size, size_t profiled_size, size_t non_profiled_size, size_t cache_size, bool all_set);
   102   static void check_heap_sizes(size_t non_nmethod_size, size_t profiled_size, size_t non_profiled_size, size_t cache_size, bool all_set);
   103   // Creates a new heap with the given name and size, containing CodeBlobs of the given type
   103   // Creates a new heap with the given name and size, containing CodeBlobs of the given type
   104   static void add_heap(ReservedSpace rs, const char* name, int code_blob_type);
   104   static void add_heap(ReservedSpace rs, const char* name, int code_blob_type);
       
   105   static CodeHeap* get_code_heap_containing(void* p);         // Returns the CodeHeap containing the given pointer, or NULL
   105   static CodeHeap* get_code_heap(const CodeBlob* cb);         // Returns the CodeHeap for the given CodeBlob
   106   static CodeHeap* get_code_heap(const CodeBlob* cb);         // Returns the CodeHeap for the given CodeBlob
   106   static CodeHeap* get_code_heap(int code_blob_type);         // Returns the CodeHeap for the given CodeBlobType
   107   static CodeHeap* get_code_heap(int code_blob_type);         // Returns the CodeHeap for the given CodeBlobType
   107   // Returns the name of the VM option to set the size of the corresponding CodeHeap
   108   // Returns the name of the VM option to set the size of the corresponding CodeHeap
   108   static const char* get_code_heap_flag_name(int code_blob_type);
   109   static const char* get_code_heap_flag_name(int code_blob_type);
   109   static size_t heap_alignment();                             // Returns the alignment of the CodeHeaps in bytes
   110   static size_t heap_alignment();                             // Returns the alignment of the CodeHeaps in bytes