8234130: Zero VM build broken after JDK-8233913
Reviewed-by: coleenp
This commit is contained in:
parent
c64756158f
commit
cdba535853
src/hotspot/share/interpreter
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -2462,8 +2462,8 @@ run:
|
||||
if (VerifyOops) method->verify();
|
||||
|
||||
if (cache->has_appendix()) {
|
||||
ConstantPool* constants = METHOD->constants();
|
||||
SET_STACK_OBJECT(cache->appendix_if_resolved(constants), 0);
|
||||
constantPoolHandle cp(THREAD, METHOD->constants());
|
||||
SET_STACK_OBJECT(cache->appendix_if_resolved(cp), 0);
|
||||
MORE_STACK(1);
|
||||
}
|
||||
|
||||
@ -2493,8 +2493,8 @@ run:
|
||||
if (VerifyOops) method->verify();
|
||||
|
||||
if (cache->has_appendix()) {
|
||||
ConstantPool* constants = METHOD->constants();
|
||||
SET_STACK_OBJECT(cache->appendix_if_resolved(constants), 0);
|
||||
constantPoolHandle cp(THREAD, METHOD->constants());
|
||||
SET_STACK_OBJECT(cache->appendix_if_resolved(cp), 0);
|
||||
MORE_STACK(1);
|
||||
}
|
||||
|
||||
|
@ -356,7 +356,7 @@ void InterpreterRuntime::note_trap(JavaThread* thread, int reason, TRAPS) {
|
||||
#ifdef CC_INTERP
|
||||
// As legacy note_trap, but we have more arguments.
|
||||
JRT_ENTRY(void, InterpreterRuntime::note_trap(JavaThread* thread, int reason, Method *method, int trap_bci))
|
||||
methodHandle trap_method(method);
|
||||
methodHandle trap_method(thread, method);
|
||||
note_trap_inner(thread, reason, trap_method, trap_bci, THREAD);
|
||||
JRT_END
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user