Loading... (original) (raw)
The annotations j.l.invoke.{ForceInline, DontInline, Stable} are currently package private but could have use outside that package if used carefully and sparingly. For example:
- Methods on Atomic*FieldUpdater classes may benefit from @ForceInline, as would array support methods of
to preserve existing inlining characteristics.
2) Reference.reachabilityFence (
) could be annotated with @DontInline rather than explicitly making the method signature known to the VM.
3) The alias jdk.vm.ci.hotspot.Stable could potentially be removed.