hg: jdk/sandbox: 8251458: Parse::do_lookupswitch fails with "assert(_cnt >= 0) failed"

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Aug 13 14:15:47 UTC 2020


Changeset: 99da356b565b
Author:    thartmann
Date:      2020-08-13 16:01 +0200
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/99da356b565b

8251458: Parse::do_lookupswitch fails with "assert(_cnt >= 0) failed"
Summary: Limit the counter value to max_jint.
Reviewed-by: kvn, vlivanov, chagedorn

! src/hotspot/share/opto/parse2.cpp
+ test/hotspot/jtreg/compiler/profiling/TestMultiBranchDataOverflow.java



More information about the jdk-sandbox-changes mailing list