RFR: 8270336: [TESTBUG] Fix initialization in NonbranchyTree
Kim Barrett
kbarrett at openjdk.java.net
Thu Jul 22 04:11:45 UTC 2021
On Tue, 13 Jul 2021 02:02:02 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> The nsk.share.gc.NonbranchyTree might call initTree() twice and incorrectly reports branchiness in the case of IllegalArgumentException(...).
One trivial grammar fix for a pre-existing problem in an error message. Otherwise looks good.
test/hotspot/jtreg/vmTestbase/nsk/share/gc/NonbranchyTree.java line 71:
> 69: if ((branchiness >= 1) || (branchiness <= 0)) {
> 70: throw new IllegalArgumentException("Illegal value of branchiness: "
> 71: + branchiness + ", must be at greater than 0 and less than 1.");
s/be at/b/
-------------
Marked as reviewed by kbarrett (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4761
More information about the hotspot-gc-dev
mailing list