--- a/hotspot/src/share/vm/code/codeCache.hpp Mon Nov 16 11:58:31 2015 +0000
+++ b/hotspot/src/share/vm/code/codeCache.hpp Mon Nov 16 15:35:43 2015 +0100
@@ -94,6 +94,8 @@
// CodeHeap management
static void initialize_heaps(); // Initializes the CodeHeaps
+ // Check the code heap sizes set by the user via command line
+ 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);
// Creates a new heap with the given name and size, containing CodeBlobs of the given type
static void add_heap(ReservedSpace rs, const char* name, int code_blob_type);
static CodeHeap* get_code_heap(const CodeBlob* cb); // Returns the CodeHeap for the given CodeBlob