Jesper Wilhelmsson
464bfe497d
8048093: Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
...
Reviewed-by: kvn, gziemski
2016-06-21 19:35:39 +02:00
Cheleswer Sahu
93043ecb8f
8150900: Implement diagnostic_pd
...
Reviewed-by: twisti, gziemski, kevinw
2016-05-24 16:02:45 +05:30
Gerard Ziemski
a991801b42
8073500: Prevent certain commercial flags from being changed at runtime
...
Implement new writeable mechanism for flag control
Reviewed-by: coleenp, iklam
2016-05-10 12:10:21 -05:00
Gerard Ziemski
f474e970ba
8153039: Command line processing should use mtCommand or mtArguments rather than mtInternal for NMT
...
Added mtArguments and replaced argument related usages of mtInternal with the new flag.
Reviewed-by: coleenp, gtriantafill
2016-04-13 15:53:46 -05:00
Stefan Karlsson
f78228b2ee
8153967: Remove top.hpp
...
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Gerard Ziemski
64a7656938
8142510: -XX:+PrintFlagsRanges should print default range value for those flags that have constraint and an implicit range
...
Implemented default ranges for flags with constraints and no explicit ranges
Reviewed-by: ddmitriev, coleenp
2016-03-30 14:44:27 -05: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
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
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
Dean Long
344a9becee
Merge
2015-10-17 19:40:30 -04:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02: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
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Daniel D. Daugherty
513aa02851
8133537: clarify position of unlock options in error messages
...
Reviewed-by: coleenp, dholmes, coffeys
2015-08-19 11:11:06 -07:00
Gerard Ziemski
2fdc0d3f21
8112746: Followup to JDK-8059557 (JEP 245)
...
Several improvements to range/constraint check feature.
Reviewed-by: coleenp, ddmitriev, sangheki, kbarrett
2015-08-13 17:17:56 -05: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
Bill Pittore
304b59b0c8
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
...
Need to add a space between macro identifier and string literal
Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Gerard Ziemski
ed2bb8c9fc
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments
...
Validate the arguments to all JVM command-line flags so as to avoid crashes, and ensure that appropriate error messages are displayed when they are invalid.
Reviewed-by: ddmitriev, dholmes, kbarrett, drwhite, brutisso, coleenp
2015-06-18 14:39:38 -05:00
David Lindholm
862b933a2e
8080947: Add uint as a valid VM flag type
...
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:29:34 +02:00
Goetz Lindenmaier
4aad17f807
8139116: Fixes for warning "format not a string literal"
...
Reviewed-by: ddmitriev, david, simonis
2015-10-09 16:39:37 +02: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
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Yumin Qi
9767fa7cb2
Merge
2014-12-03 20:32:33 -08:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Jesper Wilhelmsson
2616e09389
Merge
2014-11-17 21:32:32 +01:00
Stefan Karlsson
eebf2b9126
8064581: Move INCLUDE_ALL_GCS include section to the end of the include list
...
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-12 12:41:59 +01:00
Tobias Hartmann
009e923e04
8061443: Whitebox get*VMFlag() methods fail with develop flags in product builds
...
Changed 'get*VMFlag' to return all flags. Added methods 'isLockedVMFlag' and 'isConstantVMFlag' and adapted tests.
Reviewed-by: kvn, dholmes, sla
2014-10-24 08:22:33 +02:00
Jiangli Zhou
d7fe532761
8047934: Adding new API for unlocking diagnostic argument
...
New API for unlocking diagnostic argument.
Reviewed-by: dholmes, ccheung, egahlin, iklam, bdelsart
2014-10-14 12:09:33 -04:00
Stefan Karlsson
2880629908
8054823: Add size_t as a valid VM flag type
...
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +02:00
Igor Ignatyev
f99eed3f24
8038756: new WB API :: get/setVMFlag
...
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
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