mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
This commit is contained in:
parent
f5ef48f3b9
commit
6e8a263a06
66 changed files with 1031 additions and 461 deletions
|
@ -656,7 +656,7 @@ BytecodeInterpreter::run(interpreterState istate) {
|
|||
// oop rcvr = locals[0].j.r;
|
||||
oop rcvr;
|
||||
if (METHOD->is_static()) {
|
||||
rcvr = METHOD->constants()->pool_holder()->klass_part()->java_mirror();
|
||||
rcvr = METHOD->constants()->pool_holder()->java_mirror();
|
||||
} else {
|
||||
rcvr = LOCALS_OBJECT(0);
|
||||
VERIFY_OOP(rcvr);
|
||||
|
@ -2111,8 +2111,8 @@ run:
|
|||
break;
|
||||
|
||||
case JVM_CONSTANT_Class:
|
||||
VERIFY_OOP(constants->resolved_klass_at(index)->klass_part()->java_mirror());
|
||||
SET_STACK_OBJECT(constants->resolved_klass_at(index)->klass_part()->java_mirror(), 0);
|
||||
VERIFY_OOP(constants->resolved_klass_at(index)->java_mirror());
|
||||
SET_STACK_OBJECT(constants->resolved_klass_at(index)->java_mirror(), 0);
|
||||
break;
|
||||
|
||||
case JVM_CONSTANT_UnresolvedString:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue