[OpenJDK 2D-Dev] Java2d code using @ForceInline or @Stable annotations

Laurent Bourgès bourges.laurent at gmail.com
Wed Mar 16 15:24:44 UTC 2016


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...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160316/f036efad/attachment.html>

More information about the 2d-dev mailing list