Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/arguments.hpp @ 20458:0d78074d2444
8058092: Test vm/mlvm/meth/stress/compiler/deoptimize. Assert in src/share/vm/classfile/systemDictionary.cpp: MH intrinsic invariant
Summary: Throw exception if unable to compile an MH intrinsic
Reviewed-by: kvn
author | iveresov |
---|---|
date | Wed, 10 Sep 2014 19:08:17 -0700 |
parents | 76af788b6c16 |
children | 327c00d0f091 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.hpp Thu Sep 11 12:18:26 2014 -0700 +++ b/src/share/vm/runtime/arguments.hpp Wed Sep 10 19:08:17 2014 -0700 @@ -601,7 +601,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);