hotspot/src/share/vm/code/codeCache.hpp
changeset 46632 cef226af6c02
parent 46329 53ccc37bda19
parent 45622 3e4f81c922de
child 46647 634dc786bf96
--- a/hotspot/src/share/vm/code/codeCache.hpp	Wed Jul 05 11:03:19 2017 -0700
+++ b/hotspot/src/share/vm/code/codeCache.hpp	Wed Jul 05 18:14:48 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 ||