hotspot/src/share/vm/runtime/arguments.hpp
changeset 26585 2048b8d90c91
parent 26135 82b516c550f7
child 26824 a04a1291103f
--- a/hotspot/src/share/vm/runtime/arguments.hpp	Tue Sep 09 15:47:18 2014 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.hpp	Wed Sep 10 19:08:17 2014 -0700
@@ -590,7 +590,9 @@
   static void  fix_appclasspath();
 
   // Operation modi
-  static Mode mode()                        { return _mode; }
+  static Mode mode()                { return _mode; }
+  static bool is_interpreter_only() { return mode() == _int; }
+
 
   // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
   static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);