RFR: 8305896: Alternative full GC forwarding [v12]

Roman Kennke rkennke at openjdk.org
Thu May 4 10:53:26 UTC 2023


On Thu, 4 May 2023 09:34:27 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

>> Sounds good then.
>
> If you wouldn't mind, I think this one is even better: https://github.com/iwanowww/jdk/blob/ssc.cascading/src/hotspot/share/oops/klass.cpp?plain=1#L309
> @iwanowww is using it for faster type checking. Our very own @rose00 is behind this one, so we can definitely use it. It performs very well (~1ns per hash). The hash algo passes BigCrush (as a CBPNRG) and SMhasher (with the right loop to combine the input blocks). It's basically a fantastic hash function, that we are free to use.

Ok that is great stuff! Maybe it'd be useful to move it to a central place with this PR (alternative full GC fwding), because we're going to need it for other purposes, too (other GC tables, i-hash, faster type checking, maybe more?)

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13582#discussion_r1184854210


More information about the shenandoah-dev mailing list