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

Emanuel Peter epeter at openjdk.org
Mon Feb 27 07:20:17 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”.

This pull request has now been integrated.

Changeset: 2613b94f
Author:    Emanuel Peter <epeter at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2613b94f2863f54af22929ca8b5fef290e256ba1
Stats:     7 lines in 1 file changed: 4 ins; 0 del; 3 mod

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

Reviewed-by: kvn, vlivanov

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

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


More information about the hotspot-compiler-dev mailing list