hotspot/src/share/vm/code/codeCache.cpp
changeset 38055 9dddf9056918
parent 37289 9989add27bf4
child 38133 78b95467b9f1
--- a/hotspot/src/share/vm/code/codeCache.cpp	Wed Apr 20 20:40:46 2016 +0300
+++ b/hotspot/src/share/vm/code/codeCache.cpp	Thu Apr 21 10:52:00 2016 +0200
@@ -336,7 +336,7 @@
   if (!SegmentedCodeCache) {
     // No segmentation: use a single code heap
     return (code_blob_type == CodeBlobType::All);
-  } else if (Arguments::mode() == Arguments::_int) {
+  } else if (Arguments::is_interpreter_only()) {
     // Interpreter only: we don't need any method code heaps
     return (code_blob_type == CodeBlobType::NonNMethod);
   } else if (TieredCompilation && (TieredStopAtLevel > CompLevel_simple)) {