RFR: 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java [v2]
Vladimir Kozlov
kvn at openjdk.org
Tue Feb 21 17:51:28 UTC 2023
On Mon, 20 Feb 2023 13:35:58 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> 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
Update is good.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12536
More information about the hotspot-compiler-dev
mailing list