On Wed, 27 Nov 2024 14:45:36 GMT, Andrew Haley <a...@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