8186502: Assert when range testing G1RefProcDrainInterval on 64-bit systems
Reviewed-by: sjohanss, sangheki
This commit is contained in:
parent
18e9e80688
commit
c2935fa4a4
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -74,10 +74,10 @@
|
|||||||
"in milliseconds.") \
|
"in milliseconds.") \
|
||||||
range(1.0, DBL_MAX) \
|
range(1.0, DBL_MAX) \
|
||||||
\
|
\
|
||||||
product(intx, G1RefProcDrainInterval, 10, \
|
product(int, G1RefProcDrainInterval, 10, \
|
||||||
"The number of discovered reference objects to process before " \
|
"The number of discovered reference objects to process before " \
|
||||||
"draining concurrent marking work queues.") \
|
"draining concurrent marking work queues.") \
|
||||||
range(1, max_intx) \
|
range(1, INT_MAX) \
|
||||||
\
|
\
|
||||||
experimental(double, G1LastPLABAverageOccupancy, 50.0, \
|
experimental(double, G1LastPLABAverageOccupancy, 50.0, \
|
||||||
"The expected average occupancy of the last PLAB in " \
|
"The expected average occupancy of the last PLAB in " \
|
||||||
|
@ -216,6 +216,9 @@ public class JVMOptionsUtils {
|
|||||||
case "CMSPrecleanDenominator":
|
case "CMSPrecleanDenominator":
|
||||||
option.addPrepend("-XX:CMSPrecleanNumerator=" + ((new Integer(option.getMin())) - 1));
|
option.addPrepend("-XX:CMSPrecleanNumerator=" + ((new Integer(option.getMin())) - 1));
|
||||||
break;
|
break;
|
||||||
|
case "G1RefProcDrainInterval":
|
||||||
|
option.addPrepend("-XX:+ExplicitGCInvokesConcurrent");
|
||||||
|
break;
|
||||||
case "InitialTenuringThreshold":
|
case "InitialTenuringThreshold":
|
||||||
option.addPrepend("-XX:MaxTenuringThreshold=" + option.getMax());
|
option.addPrepend("-XX:MaxTenuringThreshold=" + option.getMax());
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user