[9] RFR (XS): 8087218: Constant fold loads from final instance fields in VM anonymous classes (original) (raw)
Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Jun 16 10:26:10 UTC 2015
- Previous message: [9] RFR (XS): 8087218: Constant fold loads from final instance fields in VM anonymous classes
- Next message: Instruction Scheduling in the C2 Compiler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks for review, John.
Best regards, Vladimir Ivanov
On 6/15/15 11:26 PM, John Rose wrote:
Reviewed. I see the bug is linked properly to the more general bug. Thanks! — John
On Jun 15, 2015, at 6:15 AM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
http://cr.openjdk.java.net/~vlivanov/8087218/webrev.00 https://bugs.openjdk.java.net/browse/JDK-8087218 Right now, VM doesn't constant fold loads final instance fields unless an experimental flag -XX:+TrustFinalNonStaticFields is turned on. The only exception is classes in java.lang.invoke/sun.invoke packages. It can be extended to VM anonymous classes because there is no hacking of finals going on with them: (1) they are part of private API (sun.misc.Unsafe); (2) they can't be serialized. Testing: manual (verified in generated code that constant folding happens) Thanks! Best regards, Vladimir Ivanov
- Previous message: [9] RFR (XS): 8087218: Constant fold loads from final instance fields in VM anonymous classes
- Next message: Instruction Scheduling in the C2 Compiler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list