579 Commits

Author SHA1 Message Date
Dmitry Dmitriev
f9b7fc0201 8144197: Possible use after free in Arguments::add_property function
Reviewed-by: dholmes, goetz
2015-12-10 14:50:47 +03:00
Tom Benson
33ac74ad7e 8060697: Improve G1 Heap Growth Heuristics
Reworked GCTimeRatio-based heap growth code for G1

Reviewed-by: tschatzl, kbarrett, jmasa
2015-12-09 09:51:31 -05:00
Lana Steuck
9e317be494 Merge 2015-12-02 10:19:14 -08:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Iris Clark
5793ec1b6a Merge 2015-11-29 20:29:32 -08:00
Iris Clark
eb6fab9412 Merge 2015-11-20 12:22:41 -08:00
Nils Eliasson
a51ff63df7 Merge 2015-11-24 10:30:23 +01:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
David Holmes
56745a7f9f 8141024: [Solaris] Obsolete UseAltSigs
Reviewed-by: dcubed, ddmitriev
2015-11-16 14:47:21 -05:00
Alejandro Murillo
c573c1777e 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 11:00:29 -08:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Iris Clark
8fe1b0faab Merge 2015-11-02 09:11:55 -08:00
Dmitry Dmitriev
8007ac3f84 8139765: set_numeric_flag can call Flag::find_flag to determine the flag type
Reviewed-by: jiangli, gziemski
2015-11-05 11:56:03 +03:00
Joseph Provino
db5f26110b Merge 2015-10-20 11:17:19 -04:00
Calvin Cheung
6887844c72 8143963: improve ClassLoader::trace_class_path to accept an additional outputStream* arg
For fixing a truncation problem on the output from -XX:+TraceClassPaths

Reviewed-by: coleenp, jiangli, cjplummer, minqi
2015-11-24 16:58:45 -08:00
Joseph Provino
8e6c71d7c2 Merge 2015-11-12 00:38:44 +00:00
Ron Durbin
409697a74e 8141068: refactor -XXFlags= code in preparation for removal
Reviewed-by: dcubed, gthornbr, coleenp
2015-11-11 14:57:27 -08:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
David Lindholm
65e88c8313 8139277: Remove ScavengeWithObjectsInToSpace, ParallelOldGCSplitALot, ParallelOldGCSplitInterval, PSAdjustTenuredGenForMinorPause and PSAdjustYoungGenForMajorPause
Reviewed-by: tschatzl, sjohanss
2015-10-16 14:11:29 +02: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
Coleen Phillimore
a4efe9440b Merge 2015-10-22 17:24:17 +00:00
Goetz Lindenmaier
83b3b21342 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
David Lindholm
437751031d 8139952: Remove UseCMSAdaptiveFreeLists, UseAsyncConcMarkSweepGC, CMSDictionaryChoice, CMSOverflowEarlyRestoration and CMSTestInFreeList
Reviewed-by: jwilhelm, ecaspole
2015-10-22 08:53:13 +02: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
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
Daniel D. Daugherty
8ff97188d3 8135195: VM Options file should not be limited to 1k in bytes
Change Arguments::parse_vm_options_file() to remove 1024 byte limit on the VM options file.

Reviewed-by: dcubed, hseigel, gthornbr, dsamersoff, ddmitriev, coleenp
2015-10-01 13:42:42 -07:00
Marcus Larsson
3c2211a492 8046148: JEP 158: Unified JVM Logging
Reviewed-by: coleenp, sla
2015-09-24 12:36:04 +02:00
Nils Eliasson
c2892b5dce Merge 2015-11-16 20:56:18 +01:00
Tobias Hartmann
8ac86c17f8 8061436: Processing of options related to segmented code cache should be enhanced
Allow user to set code heap sizes individually and enhance checking of code cache flags.

Reviewed-by: kvn, roland
2015-11-16 15:35:43 +01:00
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Christian Thalinger
6896030b96 8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
Reviewed-by: goetz, stefank
2015-11-11 16:32:17 -10: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
Jesper Wilhelmsson
1736e104a1 Merge 2015-09-08 16:10:37 +02:00
Nils Eliasson
559bf7ef6e 8135067: Preparatory refactorings for compiler control
Extract CompileTask and clean up

Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Ron Durbin
be89d7204f 8061999: Enhance VM option parsing to allow options to be specified in a file
Add support for the "-XX:VMOptionsFile=<path>" option.

Reviewed-by: dcubed, gthornbr, gziemski, ddmitriev, dholmes, coleenp
2015-09-04 14:49:20 -07:00
Jim Laskey
f763183615 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:12:08 -03:00
Sangheon Kim
c091c7348a 8134972: [BACKOUT] GC: implement ranges (optionally constraints) for those flags that have them missing
Reviewed-by: jwilhelm
2015-09-02 17:49:46 -07:00
Sangheon Kim
cf5132e887 8078555: GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: jmasa, kbarrett, gziemski, ddmitriev, drwhite
2015-08-31 11:51:29 -07:00
Dmitry Dmitriev
237449b3bd 8132725: Memory leak in Arguments::add_property function
Logic in add_property was rewritten to avoid memory leak

Reviewed-by: iklam, coleenp
2015-08-28 17:32:31 +03:00
Jesper Wilhelmsson
0edc019938 8133669: Remove unused code in Arguments
8133455: VM ignores setting of the -XX:MemoryRestriction flag

Reviewed-by: dholmes, kbarrett
2015-08-17 13:55:02 +02:00
Staffan Larsen
781b67580f 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:54 +02:00
Dmitry Dmitriev
d364e5d191 8132892: Memory must be freed after calling Arguments::set_sysclasspath function
Free memory after calling set_sysclasspath

Reviewed-by: dholmes, dcubed
2015-08-09 13:38:24 +03:00
Jaroslav Bachorik
39aea4789c Merge 2015-07-31 12:13:57 +02:00
Sangheon Kim
a13fe250b0 8130459: Add additional validation after heap creation
Some PLAB related flags' validation can happen after heap creation. Introduced additional stage of validation check.

Reviewed-by: coleenp, dholmes, kbarrett, gziemski, ecaspole, ddmitriev
2015-07-27 13:56:26 -07:00
Coleen Phillimore
24c0f4e471 8026324: hs_err improvement: Add summary section to hs_err file
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered

Added command line, summary cpu and os information to summary section.  Moved time of crash and duration in summary section.  Add GC strategy and compiler setting (tiered) to enhanced version string in error report.  Moved the stack trace sooner in hs_err file.

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-07-22 00:03:45 -04:00
Roland Westrelin
ae7cdb5972 8130858: CICompilerCount=1 when tiered is off is not allowed any more
8122937 broke handling of CICompilerCount

Reviewed-by: kvn, vlivanov, gziemski
2015-07-27 13:44:07 +02:00