RFR: 8253453: SourceFileInfoTable should be allocated lazily
Claes Redestad
redestad at openjdk.java.net
Mon Oct 19 10:54:14 UTC 2020
On Mon, 19 Oct 2020 10:34:35 GMT, Christian Hagedorn <chagedorn 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.
@neliasso @chhagedorn: Thank you both for reviewing!
-------------
PR: https://git.openjdk.java.net/jdk/pull/724
More information about the hotspot-compiler-dev
mailing list