RFR: 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java [v2]
Emanuel Peter
epeter at openjdk.org
Mon Feb 20 13:35:58 UTC 2023
> Speed up via compile restriction.
> For the 3 jobs, time used to be:
> ` 0.7`, `1.5`, `25.7`
> Now the third one `-Xcomp` is much faster:
> `0.7`, `1.5`, `2.0`
>
> To quote @iwanowww :
>
> According to its name, the test ensures exceptions are thrown in proper order (AME precedes NPE).
> So, it’s enough to compile the methods which contain such call sites.
> I believe they reside in methods named “test”.
Emanuel Peter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- fixed copyright and compile restriction for Xcomp case
- Merge branch 'master' into JDK-8302149
- 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12536/files
- new: https://git.openjdk.org/jdk/pull/12536/files/5abe849e..bf9076ec
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12536&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12536&range=00-01
Stats: 53662 lines in 1187 files changed: 21278 ins; 15442 del; 16942 mod
Patch: https://git.openjdk.org/jdk/pull/12536.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12536/head:pull/12536
PR: https://git.openjdk.org/jdk/pull/12536
More information about the hotspot-compiler-dev
mailing list