RFR: 8269342: CICrashAt=1 does not always catch first Java method

Vladimir Kozlov kvn at openjdk.java.net
Sat Jul 24 02:48:01 UTC 2021


On Sat, 24 Jul 2021 01:21:37 GMT, Dean Long <dlong at openjdk.org> wrote:

> This change reintroduces the CICountNative flag, so that -XX:+CICountNative -XX:CICrashAt=1 can reliably crash the first compiled Java method without worrying about native method wrappers and method handle intrinsics.

Looks good.

test/hotspot/jtreg/compiler/ciReplay/CiReplayBase.java line 85:

> 83:     public static class TestMain {
> 84:         public static void main(String[] args) {
> 85:             Lambda start = () -> 0;

I would add comment that you use this to trigger native compilation explicitly.

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

Marked as reviewed by kvn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4897


More information about the hotspot-compiler-dev mailing list