Time to Safepoint and HotSpot intrinsics
rwestrel at redhat.com
Fri Nov 30 16:05:00 UTC 2018
> We could simply limit the maximum buffer size of the intrinsic and
> wrap it in a Java loop with (as usual) a safepoint check. This does
> not noticeably slow anything down, but it does solve the TTSP
> problem. This can be important when multi-megabyte messages are being
"a Java loop": so that would be implemented by changing the library
code, not the JVM code?
Is the intend to have one safepoint per iteration of that loop? I think
we would need to verify this interacts correctly with loop strip mining
so that loop doesn't get strip mined if the body is something that's
As you say, sounds like a no brainer to me too.
More information about the hotspot-dev