RFR: 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java

Vladimir Kozlov kvn at openjdk.org
Tue Feb 14 19:24:40 UTC 2023


On Mon, 13 Feb 2023 14:50:16 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”.

Good.

-------------

Marked as reviewed by kvn (Reviewer).

PR: https://git.openjdk.org/jdk/pull/12536


More information about the hotspot-compiler-dev mailing list