Commit Graph

75 Commits

Author SHA1 Message Date
Zoltan Majo
50c5fb834b 8157560: Reserve space for allocation prefetch only in builds that support allocation prefetching
Create the reserved area only in C2-enabled builds.

Reviewed-by: kvn, thartmann
2016-05-24 09:07:22 +02:00
David Holmes
ce9242dc85 8156689: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java disable range testing of Allocate*PrefetchLines
Reviewed-by: kvn
2016-05-11 02:32:14 -04:00
Vladimir Ivanov
622a5ae6f0 Merge 2016-05-06 18:20:50 +03:00
Zoltan Majo
413417522f 8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
Improve allocation prefetching.

Reviewed-by: kvn
2016-04-29 08:32:42 +02:00
Dmitry Samersoff
85deb5aa7e 8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
2016-05-01 12:47:00 +03:00
Alexander Kulyakhtin
7cf6a15162 8153992: Some hotspot tests fail on compact2 due to an unnecessary test library dependency
Removing unnecessary dependency on java.management from the ProcessTool.getProcessId()

Reviewed-by: mchung
2016-04-26 13:22:32 +03:00
Alejandro Murillo
45b6e4a1ca Merge 2016-04-11 14:21:25 -07:00
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Dmitry Dmitriev
a0d59719d3 8153437: Temporary exclude AllocatePrefetchDistance from testing
Reviewed-by: dcubed
2016-04-05 00:36:59 +03:00
Gerard Ziemski
5a7ecbdf94 8143958: CDS Shared flags need constraint function
Implement range constraints for CDS flags.

Reviewed-by: iklam, jiangli
2016-03-30 11:28:51 -05:00
Rachel Protacio
0f7f8e05ab 8146947: Remove PrintOopAddress rather than converting to UL
Deprecated PrintOopAddress and made functionality default

Reviewed-by: coleenp, stefank
2016-03-24 13:25:10 -04:00
Chris Hegarty
9978f9b065 Merge 2016-03-22 17:04:25 +00:00
Alan Bateman
f30fc1c88b 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Sangheon Kim
74cc38ff12 8145204: JVM can hang when ParGCArrayScanChunk=4294967296 and ParallelGC is used
Changed the max value of ParGCArrayScanChunk to max_jint/3

Reviewed-by: jwilhelm, drwhite
2016-03-07 01:20:12 -08:00
Dmitry Dmitriev
04d2edfca3 8146187: Print develop and nonproduct flags by -XX:+PrintFlags* options in debug build
Reviewed-by: gtriantafill, gziemski, dholmes
2016-02-19 13:24:21 +03:00
Dmitry Dmitriev
a4d0bc4a4e 8144578: TestOptionsWithRanges test only ever uses the default collector
Reviewed-by: sangheki, dholmes
2016-02-17 11:00:57 +03:00
David Holmes
339a7e8559 8147379: Investigate if ConvertSleepToYield still should be false by default on Sparc
Reviewed-by: dcubed, sjohanss
2016-02-15 05:54:59 -05:00
Ron Durbin
00f6aa5a7c 8135198: Add -XX:VMOptionsFile support to JAVA_TOOL_OPTIONS and _JAVA_OPTIONS
Reviewed-by: dcubed, ddmitriev, ahgross, gthornbr, coleenp
2016-01-08 15:38:08 -08:00
Sangheon Kim
87f0463ced 8145000: TestOptionsWithRanges.java failure for XX:+UseNUMA -XX:+UseNUMAInterleaving -XX:NUMAInterleaveGranularity=65536
Add protect_pages_individually() to protect memory per chunk on Windows

Reviewed-by: jwilhelm, tbenson
2016-01-05 10:41:56 -08:00
Rachel Protacio
7973ef05b3 8141211: Convert TraceExceptions to Unified Logging
The -XX:+TraceExceptions flag has been updated to the unified logging framework, i.e. -Xlog:exceptions. The old flag, because it is product-level, has been aliased to the UL option.

Reviewed-by: dholmes, coleenp, mockner
2015-12-22 16:29:48 -05:00
Dmitry Dmitriev
2c980f2f84 8142874: [TESTBUG] OptionsValidation testing framework needs to handle VM error codes in some cases
Reviewed-by: gtriantafill, stsmirno, ctornqvi, gziemski
2015-12-12 21:23:20 +03:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Jon Masamitsu
023320f726 8145027: Exclude NUMAInterleaveGranularity from TestOptionsWithRanges.java
Reviewed-by: jwilhelm, ddmitriev
2015-12-09 12:35:09 -08:00
Sangheon Kim
da8bf041ac 8142341: GC: current flags need ranges to be implemented
Add explicit ranges and constraint for all gc flags

Reviewed-by: jwilhelm, gziemski, ddmitriev, tbenson
2015-12-04 15:24:14 -08:00
Jesper Wilhelmsson
40f65439e2 Merge 2015-12-01 21:08:00 +01:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Dmitry Dmitriev
884a2b65f2 8144084: [TESTBUG] 1.9 section not unlock flag in runtime/CommandLine/IgnoreUnrecognizedVMOptions test
Reviewed-by: dholmes
2015-11-30 10:09:01 +03:00
Rachel Protacio
d2e0eb79a8 8143155: Remove TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls rather than convert to UL
Removed TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls options because their output is excessive, not useful, and covered in a more useful way by other options.

Reviewed-by: coleenp, dholmes, ddmitriev
2015-11-24 11:40:18 -05:00
Dmitry Dmitriev
0b12fb83d2 Merge 2015-11-24 13:58:08 +00:00
Dmitry Dmitriev
7b9d2f1453 8143038: [TESTBUG] TestOptionsWithRanges: allow excluding only a subset of tested values specified for a flag
Reviewed-by: gziemski, ctornqvi
2015-11-24 09:42:05 +03:00
David Holmes
274653d406 8143836: [TESTBUG] runtime/CommandLine/IgnoreUnrecognizedVMOptions fails in jdk9/dev
Reviewed-by: coleenp, hseigel
2015-11-23 21:05:43 -05:00
Nils Eliasson
c2892b5dce Merge 2015-11-16 20:56:18 +01:00
Zoltan Majo
5c32c8d2ab 8140327: segfault on solaris-amd64 with "-XX:CompilerThreadStackSize=1" option
Update range for the CompilerThreadStackSize flag. Remove flag from testing.

Reviewed-by: kvn
2015-11-16 09:42:20 +01:00
Gerard Ziemski
684ae3fa6e 8140539: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Add back "-XX:+IgnoreUnrecognizedVMOptions" that was removed in a prototype.

Reviewed-by: dcubed, ddmitriev
2015-10-28 09:09:55 -05:00
Dmitry Dmitriev
81fe39a539 8139900: [TESTBUG] Remove G1UpdateBufferSize and InitialBootClassLoaderMetaspaceSize from TestOptionsWithRanges
Reviewed-by: gziemski, sangheki, ctornqvi
2015-10-27 14:33:29 +03:00
Joseph Provino
db5f26110b Merge 2015-10-20 11:17:19 -04:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Coleen Phillimore
e8e182c0e7 Merge 2015-10-16 00:01:49 +00:00
Gerard Ziemski
22838597ea 8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
JEP 245: implement ranges and constraints for runtime flags.

Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: coleenp, ddmitriev, jiangli, goetz
2015-10-15 13:34:21 -05:00
Daniel D. Daugherty
2559482886 8136552: Last argument wins does not work for special options with "-XX:VMOptionsFile" option
Match_special_option_and_act() should insert_vm_options_file() earlier and process the inserted options right away to honor "last option wins" semantics.

Reviewed-by: dcubed, coleenp
2015-10-15 10:00:30 -07:00
Gerard Ziemski
f84561609b 8129855: "-XX:+IgnoreUnrecognizedVMOptions" hides out of range VM options
Implement strict spec rgarding how IgnoreUnrecognizedVMOptions works, supplied with the corresponding test case.

Reviewed-by: dcubed, ddmitriev
2015-10-23 11:17:23 -05:00
Sangheon Kim
b112b31e5b 8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
Jesper Wilhelmsson
e75e2e04f7 Merge 2015-10-07 01:03:24 +02:00
Zoltan Majo
fc2a5e9d53 8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
Add range check or constraint where necessary.

Reviewed-by: roland, thartmann
2015-10-09 14:21:26 +02:00
Dmitry Dmitriev
1ea2276afe 8138769: [TESTBUG] restore lost line from JDK-8137105 fix
Reviewed-by: dcubed, rdurbin
2015-10-02 09:04:10 -07:00
Daniel D. Daugherty
017ac63fe8 8137105: [TESTBUG] Add test cases for VM Options file feature with removed file size limit
Update TestVMOptionsFile.java to match fix for 8135195; other minor cleanups.

Reviewed-by: dcubed, rdurbin
2015-10-01 13:43:23 -07:00
Dmitry Dmitriev
0835a6e311 8073331: [TESTBUG] Test for VM option file feature (VM options specified in file)
Reviewed-by: dcubed, gtriantafill, rdurbin
2015-09-23 22:04:23 +03:00
Igor Veresov
74519e1e1a Merge 2015-09-25 12:04:35 -07:00
Nils Eliasson
5ca8983920 8135068: Extract method matchers from CompilerOracle
Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
2015-09-18 10:11:11 +02:00
Derek White
23813ce92e 8066821: Enhance command line processing to manage deprecating and obsoleting -XX command line arguments
Add support for alias options and automatically expiring deprecated options

Reviewed-by: dholmes, kbarrett, acorn
2015-09-11 15:31:03 -04:00