hotspot/src/share/vm/code/codeCache.hpp
changeset 45622 3e4f81c922de
parent 43945 e7f2e49d2274
child 46632 cef226af6c02
--- a/hotspot/src/share/vm/code/codeCache.hpp	Fri Jun 02 11:26:36 2017 +0200
+++ b/hotspot/src/share/vm/code/codeCache.hpp	Tue Jun 13 10:27:42 2017 -0700
@@ -85,6 +85,7 @@
   static GrowableArray<CodeHeap*>* _heaps;
   static GrowableArray<CodeHeap*>* _compiled_heaps;
   static GrowableArray<CodeHeap*>* _nmethod_heaps;
+  static GrowableArray<CodeHeap*>* _allocable_heaps;
 
   static address _low_bound;                            // Lower bound of CodeHeap addresses
   static address _high_bound;                           // Upper bound of CodeHeap addresses
@@ -237,6 +238,11 @@
     return type == CodeBlobType::All || type <= CodeBlobType::MethodProfiled;
   }
 
+  static bool code_blob_type_accepts_allocable(int type) {
+    return type <= CodeBlobType::All;
+  }
+
+
   // Returns the CodeBlobType for the given compilation level
   static int get_code_blob_type(int comp_level) {
     if (comp_level == CompLevel_none ||