40 Commits

Author SHA1 Message Date
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Staffan Larsen
869722e816 8032250: Add trace event for VM flag changes
Reviewed-by: coleenp, ehelin, egahlin, mgronlun
2014-01-23 08:12:12 +01:00
Calvin Cheung
7f34fe7eee 8027314: Java should recognize Diagnostic options if -XX:+UnlockDiagnosticVMOptions is not specified and print an informative message
Clarifying the error messages associated with vm options of type diagnostic, experimental, develop, and notproduct

Reviewed-by: kvn, twisti, ctornqvi
2014-01-16 10:51:16 -08:00
Igor Ignatyev
cfefbcebf5 8029070: memory leak in jmm_SetVMGlobal
Reviewed-by: kvn, dholmes
2013-12-23 20:56:18 +04:00
Zhengyu Gu
3a3cc4bad3 8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags
Fixed wrong print string format

Reviewed-by: sla, ccheung
2013-12-16 10:57:08 -08:00
Sergey Gabdurakhmanov
e237fbfe1f 8028341: PSR:FUNC: SCOPE PARAMETER MISSING FROM THE -XX:+PRINTFLAGSFINAL
Reviewed-by: dcubed, sla
2013-11-18 08:21:19 +01:00
Christian Thalinger
cd7bfac363 8024545: make develop and notproduct flag values available in product builds
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07:00
Roland Westrelin
f188c2bf70 7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked
Do patching rather bailing out for unlinked call with appendix

Reviewed-by: twisti, kvn
2013-08-21 13:34:45 +02:00
Tao Mao
7109e85e43 8017611: Auto corrector for mistyped vm options
The auto corrector for mistyped vm options fuzzy-matches existing flags based on string similarity (Dice's coefficient).

Reviewed-by: kvn, dsamersoff, hseigel, johnc
2013-06-28 20:18:04 -07:00
Markus Grönlund
e7b16a5e79 8016735: Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
Reviewed-by: sla, dholmes
2013-06-20 11:53:51 +02:00
Krystal Mo
212f30a18e 8006430: TraceTypeProfile is a product flag while it should be a diagnostic flag
Make sure all diagnostic and experimental flag kinds are checked in Flag::is_unlocked()

Reviewed-by: kvn
2013-02-10 22:35:38 -08:00
Joseph Provino
698fba94ef 8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.

Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Tao Mao
447e7065d2 6677625: Move platform specific flags from globals.hpp to globals_<arch>.hpp
Reviewed-by: kvn, dholmes, coleenp
2012-08-27 15:17:17 -07:00
Zhengyu Gu
a39b17624a 6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking

Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd

Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Bengt Rutisson
831d61ffee 7167069: 6 VM flags crash the VM when queried via jinfo
Added missing double format to Flag::print_as_flag()

Reviewed-by: dholmes, stefank, coleenp
2012-05-10 14:16:34 +02:00
James Melvin
3693f0fe43 7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages
Provide custom error messages for locked commercial feature options which are not first unlocked.

Reviewed-by: dcubed, jcoomes, kamg
2012-03-20 16:46:39 -04:00
Frederic Parain
849571d5b3 7120511: Add diagnostic commands
Reviewed-by: acorn, phh, dcubed, sspitsyn
2012-01-09 10:27:24 +01:00
Paul Hohensee
2c192911dd 7122880: Extend vendor-specific command interface to include manageable switches
Add Flag::external_ext()/writable_ext(), both return false.

Reviewed-by: coleenp, zgu
2011-12-19 15:50:47 -05:00
Paul Hohensee
6532572c0b 7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
Add a file, globals_ext.hpp, containing a null interface, to be replaced by a vendor in altsrc as needed.

Reviewed-by: coleenp, kamg, dholmes, johnc, jrose
2011-12-05 12:50:00 -05:00
Paul Hohensee
5e1d1487de 7116730: Revert 7116481: Commercial features in Hotspot must be gated by a switch
Revert 7116481 to current hsx/hotspot-main

Reviewed-by: kamg
2011-11-30 12:48:52 -05:00
Paul Hohensee
1372b916ff 7116481: Commercial features in Hotspot must be gated by a switch
Add -XX:+UnlockCommercialVMOptions to gate use of commercial feature switches in the same way as -XX:UnlockDiagnosticVMOptions gates use of diagnostic feature switches.

Reviewed-by: jwilhelm, kamg
2011-11-29 17:00:46 -05:00
John R Rose
16784a72e8 6981791: remove experimental code for JSR 292
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
Stefan Karlsson
8006fe8f75 6989984: Use standard include model for Hospot
Replaced MakeDeps and the includeDB files with more standardized solutions.

Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Ivan P Krylov
5d5bcb4bca 6979444: add command line option to print command line flags descriptions
Implementation of a nonproduct boolean flag XX:PrintFlagsWithComments

Reviewed-by: kamg, dholmes, dsamersoff
2010-08-31 03:14:00 -07:00
Gary Benson
d7310fb0f7 6976186: integrate Shark HotSpot changes
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.

Reviewed-by: kvn, twisti
2010-08-11 05:51:21 -07:00
Erik Trimble
ba7c173659 6941466: Oracle rebranding changes for Hotspot repositories
Change all the Sun copyrights to Oracle copyright

Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Gary Benson
5d66f5aca8 6914622: Print values of all flags for product VM
Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial.

Reviewed-by: phh, ysr
2010-01-07 16:24:17 -08:00
Tom Rodriguez
9db2092b1b 6892658: C2 should optimize some stringbuilder patterns
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
Paul Hohensee
e38fa6385f 6898160: Need serviceability support for new vm argument type 'uint64_t'
Add serviceability support for uint64_t. Flags of unknown type assert in debug builds and are ignored in product builds.

Reviewed-by: never, xlu, mchung, dcubed
2009-11-04 16:49:23 -05:00
Paul Hohensee
2f7d60fa36 6887571: Increase default heap config sizes
Apply modification of existing server heap size ergo to all collectors except CMS.

Reviewed-by: jmasa, ysr, xlu
2009-10-28 16:25:51 -04:00
Chuck Rasbold
453d1a42b0 Merge 2008-09-30 15:53:55 -07:00
Volker Simonis
ac161a1e17 6744783: HotSpot segfaults if given -XX options with an empty string argument
Reviewed-by: kamg, kvn
2008-09-25 12:50:51 -07:00
Antonios Printezis
615777b6da Merge 2008-08-21 23:36:31 -04:00
Xiomara Jayasena
c96a95c4b8 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Y. Srinivas Ramakrishna
d44be8e3a0 6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
Experimental() flags will protect features of an experimental nature that are not supported in the regular product build. Made UseG1GC an experimental flag.

Reviewed-by: jmasa, kamg, coleenp
2008-06-30 17:04:59 -07:00
Y. Srinivas Ramakrishna
18f3386a98 6711316: Open source the Garbage-First garbage collector
First mercurial integration of the code for the Garbage-First garbage collector.

Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00
Coleen Phillimore
4a831d45f0 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv

Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
2008-04-13 17:43:42 -04:00
Tom Rodriguez
89290f2817 6619271: The -Xprintflags causes the VM to segv
Add null checks

Reviewed-by: jrose, kvn
2008-04-03 10:20:44 -07:00
Jon Masamitsu
6c0c606249 6557851: CMS: ergonomics defaults are not set with FLAG_SET_ERGO
Default values set by cms ergonomics are set with FLAG_SET_DEFAULT so down stream the values look like the default values and affect how later parameters are set.  Set these values with FLAG_SET_ERGO instead and adjust how later parameters are interpreted.

Reviewed-by: iveresov, apetrusenko, pbk, ysr
2008-03-02 16:10:12 -08:00
J. Duke
8153779ad3 Initial load 2007-12-01 00:00:00 +00:00