RFR: 8270333: -XX:+VerifyStringTableAtExit should not do linear search [v3]

Ioi Lam iklam at openjdk.java.net
Wed Jul 14 06:46:09 UTC 2021


On Wed, 14 Jul 2021 06:32:58 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Okay ... I'm not sure why you want the code to be duplicated though?

I could add a new `bool update` parameter to `java_lang_String::hash_code(oop java_string)`, but I worry about performance impacts. 

It probably doesn't matter, but I just don't want to deal with any potential performance issues when changing code used only for debugging.

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

PR: https://git.openjdk.java.net/jdk/pull/4772


More information about the hotspot-runtime-dev mailing list