8058092: Test vm/mlvm/meth/stress/compiler/deoptimize. Assert in src/share/vm/classfile/systemDictionary.cpp: MH intrinsic invariant

Throw exception if unable to compile an MH intrinsic

Reviewed-by: kvn
This commit is contained in:
Igor Veresov 2014-09-10 19:08:17 -07:00
parent 2d59d215e2
commit 7275456c3a
2 changed files with 10 additions and 3 deletions

View file

@ -590,7 +590,9 @@ class Arguments : AllStatic {
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);