RFR: 8253453: SourceFileInfoTable should be allocated lazily
Nils Eliasson
neliasso at openjdk.java.net
Sun Oct 18 18:59:12 UTC 2020
On Sun, 18 Oct 2020 16:50:31 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> Avoids allocating and clearing a 128Kb large ResourceHashTable eagerly on startup
>
> It's only used when PrintInterpreter is enabled - which prints out the interpreter during bootstrap - so proper
> synchronization seems excessive.
> Testing: tier1, verified source line comments retained with `-XX:+PrintInterpreter`
Looks good to me!
-------------
Marked as reviewed by neliasso (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/724
More information about the hotspot-compiler-dev
mailing list