RFR: 8344766: AES/CTR slow at big payloads [v2]
Jatin Bhateja
jbhateja at openjdk.org
Wed Nov 27 15:12:36 UTC 2024
On Wed, 27 Nov 2024 14:45:36 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> For CRC32 digest computation we do support intrinsic at interpreter and c1 compiler level to overcome such warmup related penalties.
>
> This is not just a good idea to trigger OSR and therefore use the intrinsic, it's a good idea because very long data causes an extended time to safepoint. I'd support in all cases limiting the size to about a megabyte, which is what we have here.
Agree with @theRealAph , loop induces safe point on back edges which gives opportunity to gc epochs.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22300#discussion_r1860833185
More information about the hotspot-compiler-dev
mailing list