RFR: 8262476: Add filter to speed up CompileCommand lookup [v2]
Nils Eliasson
neliasso at openjdk.java.net
Thu Mar 18 10:33:51 UTC 2021
> This was reported as "Regression in class loading micro in 16-b27"
>
> When adding Improving the CompileCommand flag in JDK-8256508 all commands was put in the same list (instead of an array of lists that would have been long and sparsely populated). Since commands are very uncommon that seemed like a reasonable thing - but I forgot about the JMH use case that adds a lot of inlining commands. With all commands in the same list, 1000 inlining commands will cause look-ups of all commands to take a lot of time.
>
> This PR adds a filter so that we can quickly check if a command is present or not.
Nils Eliasson has updated the pull request incrementally with one additional commit since the last revision:
Replace and rename
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3057/files
- new: https://git.openjdk.java.net/jdk/pull/3057/files/26ad3f77..6b38797a
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3057&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3057&range=00-01
Stats: 19 lines in 1 file changed: 0 ins; 12 del; 7 mod
Patch: https://git.openjdk.java.net/jdk/pull/3057.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3057/head:pull/3057
PR: https://git.openjdk.java.net/jdk/pull/3057
More information about the hotspot-compiler-dev
mailing list