Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135560 | emb-9 | Vladimir Ivanov | P3 | Resolved | Fixed | team |
Constant fold loads from final instance fields in VM anonymous classes.
Right now, the only exception are classes java.lang.invoke package.
It can be extended to VM anonymous classes. They (1) are part of private API (sun.misc.Unsafe); and (2) can't be serialized, so there is no hacking of finals going on with them.
Right now, the only exception are classes java.lang.invoke package.
It can be extended to VM anonymous classes. They (1) are part of private API (sun.misc.Unsafe); and (2) can't be serialized, so there is no hacking of finals going on with them.
- backported by
-
JDK-8135560 Constant fold loads from final instance fields in VM anonymous classes
-
- Resolved
-
- relates to
-
JDK-8058164 final fields in objects need to support inlining optimizations
-
- Open
-