8198909: [Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV

Reviewed-by: eosterlund, iveresov
This commit is contained in:
Tom Rodriguez 2018-06-24 21:46:11 -07:00
parent e6bcdd9eab
commit 0173db08e9
8 changed files with 77 additions and 28 deletions

View file

@ -234,7 +234,7 @@ int AOTOopRecorder::find_index(Metadata* h) {
vmassert(index + 1 == newCount, "must be last");
Klass* klass = NULL;
JVMCIKlassHandle klass(THREAD);
oop result = NULL;
if (h->is_klass()) {
klass = (Klass*) h;