hotspot/src/share/vm/code/codeCache.hpp
changeset 27410 dd80df7cfa2b
parent 26942 fa5ea7ff078d
child 27420 04e6f914cce1
--- a/hotspot/src/share/vm/code/codeCache.hpp	Thu Oct 16 12:57:04 2014 +0200
+++ b/hotspot/src/share/vm/code/codeCache.hpp	Fri Oct 17 08:56:07 2014 +0200
@@ -100,6 +100,8 @@
   static void add_heap(ReservedSpace rs, const char* name, size_t size_initial, int code_blob_type);
   static CodeHeap* get_code_heap(CodeBlob* cb);               // Returns the CodeHeap for the given CodeBlob
   static CodeHeap* get_code_heap(int code_blob_type);         // Returns the CodeHeap for the given CodeBlobType
+  // Returns the name of the VM option to set the size of the corresponding CodeHeap
+  static const char* get_code_heap_flag_name(int code_blob_type);
   static bool heap_available(int code_blob_type);             // Returns true if an own CodeHeap for the given CodeBlobType is available
   static ReservedCodeSpace reserve_heap_memory(size_t size);  // Reserves one continuous chunk of memory for the CodeHeaps