[OpenJDK 2D-Dev] Java2d code using @ForceInline or @Stable annotations
philip.race at oracle.com
Wed Mar 16 16:51:06 UTC 2016
The jigsaw team would need to sign off on any changes
to the module graph and in addition I think the VM team
might have some input on this since I don't think this
is intended to be used other than extremely sparingly.
I see @Stable used only by String and java.lang.invoke
which has deep ties to the VM.
In other words I am not sure we should do this or if, for ForceIine,
it would bring any benefits over what hotspot is doing without prompting.
On 3/16/16, 8:24 AM, Laurent Bourgès wrote:
> In the marlin renderer, I am wondering if I could use the compiler
> annotations @ForceInline / @Stable (in java.base module).
> It would provide hints to the hotspot compiler and maybe bring some
> performance benefits.
> Of course, it means adding a qualified export in the modules.xml:
> Please give me your opinion & comments.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev