Thomas Schatzl
bb5bd507d7
7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM
...
Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method.
Reviewed-by: jmasa, tamao
2013-03-27 19:21:18 +01:00
Tao Mao
0268771fc4
7196080: assert(max_heap >= InitialHeapSize) in arguments.cpp
...
Remove the related assertions becasue they do not hold here.
Reviewed-by: jmasa, tschatzl
2013-03-20 12:27:03 -07:00
Stefan Karlsson
35177d7db2
Merge
2013-03-15 08:57:55 +01:00
Bengt Rutisson
c51ea967ce
8001049: VM crashes when running with large -Xms and not specifying ObjectAlignmentInBytes
...
Take the initial heap size into account when checking the heap size for compressed oops
Reviewed-by: jmasa, kvn, hseigel, ctornqvi
2013-03-12 08:33:57 +01:00
Joseph Provino
0f54c50638
8009835: Only produce a warning when -Xshare:auto is explicitly requested
...
The minimal JVM is printing a warning message for default settings when it should quitely ignore them.
Reviewed-by: coleenp, dholmes
2013-03-12 00:02:16 -04:00
Tao Mao
3baff284ba
8008368: Deprecate MaxGCMinorPauseMillis
...
Deprecate MaxGCMinorPauseMillis and emit a warning if set by users
Reviewed-by: brutisso, johnc
2013-03-07 10:44:04 -08:00
Joseph Provino
a6be16446d
8008310: Some adjustments needed to minimal VM warnings and errors for unsupported command line options
...
Changes to arguments.cpp for warnings vs. errors. Changes for CDS arguments.
Reviewed-by: coleenp, cjplummer
2013-03-06 13:38:17 -05:00
Serguei Spitsyn
f85789e68a
Merge
2013-02-22 10:16:51 -08:00
Mikael Gerdin
1d468be4b1
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
...
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue
Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Bill Pittore
51da3d1337
Merge
2013-02-15 21:53:55 -05:00
Joseph Provino
469a44bcd6
8003581: UseG1GC is not properly accounted for by INCLUDE_ALTERNATE_GCS
...
Fix warning messages when selected garbage collectors are excluded from the minimal jvm.
Reviewed-by: dholmes, cjplummer
2013-02-14 11:08:58 -05:00
Vladimir Ivanov
8952875c84
Merge
2013-02-14 05:36:59 -08:00
Bengt Rutisson
20bc6a3d8c
Merge
2013-02-14 11:01:05 +01:00
John Cuthbertson
90d010120f
8011343: Add new flag for verifying the heap during startup
...
Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
2013-04-05 10:20:04 -07:00
Morris Meyer
6a910ea8f2
8006851: When TieredCompilation is set, max code cache should be bumped to 256mb
...
Set ReservedCodeCacheSize to (default value)*5 when TieredCompilation is on.
Reviewed-by: kvn, twisti
2013-02-08 15:39:43 -08:00
Bill Pittore
9cad40fca6
Merge
2013-02-07 16:05:48 -05:00
Harold Seigel
1831def9cc
8000968: NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes for > 32G CompressedOops
...
Pick a base that works for both CompressedOpps alignment and CompressedKlassPtrs alignment.
Reviewed-by: kvn, roland
2013-02-04 08:26:02 -05:00
Harold Seigel
a2966dd62d
8006298: Specifying malformed JFR options (-XX:+FlightRecorderOptions) outputs non-sensical error
...
Change error messages for malformed options so the messages are more useful.
Reviewed-by: mikael, kvn, nloodin
2013-02-01 14:14:54 -05:00
Dean Long
0a2347e0ba
Merge
2013-01-27 01:07:09 -08:00
Zhengyu Gu
fc0efc91c8
8000692: Remove old KERNEL code
...
Removed depreciated kernel VM source code from hotspot VM
Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Vladimir Kozlov
4de970006b
Merge
2013-02-12 09:54:34 -08:00
Bill Pittore
9bb5656e4b
Merge
2013-02-08 16:08:17 -05:00
Joseph Provino
83321b989a
8003539: Minimal VM don't react to -Dcom.sun.management and -XX:+ManagementServer
...
A warning message should be displayed if these options are used with the Minimal VM.
Reviewed-by: dholmes, dsamersoff
2013-02-05 13:32:34 -05:00
Jon Masamitsu
c727c73cce
8005452: NPG: Create new flags for Metaspace resizing policy
...
Reviewed-by: johnc, jwilhelm, coleenp, stefank
2013-01-23 19:08:04 -08:00
Bengt Rutisson
ff7575383f
Merge
2013-02-07 18:40:45 -08:00
Jesper Wilhelmsson
2c17d50a8b
8006432: Ratio flags should be unsigned
...
Flags changed to be of uintx type
Reviewed-by: johnc, tamao
2013-02-07 15:51:25 +01: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
Karen Kinnear
706efde6df
Merge
2013-01-21 16:11:24 -05:00
Harold Seigel
68f3dd76c9
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
...
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
Vladimir Kozlov
91c93084cb
Merge
2013-01-10 10:00:43 -08:00
Jon Masamitsu
be38ea68e5
Merge
2013-01-10 07:32:32 -08:00
Karen Kinnear
9cc0c0af8b
Merge
2013-01-09 18:06:34 -05:00
Bengt Rutisson
0f2c37ea4a
8005489: VM hangs during GC with ParallelGC and ParallelGCThreads=0
...
Print an error message and exit the VM if UseParallalGC is combined with ParllelGCThreads==0. Also reviewed by vitalyd@gmail.com .
Reviewed-by: stefank, ehelin
2013-01-09 09:48:58 +01:00
Harold Seigel
cfea76669a
8005076: Creating a CDS archive with one alignment and running another causes a crash
...
Save the alignment when writing the CDS and compare it when reading the CDS.
Reviewed-by: kvn, coleenp
2013-01-08 13:38:11 -05:00
Bengt Rutisson
2574114b01
8003822: Deprecate the incremental mode of CMS
...
Reviewed-by: johnc, jwilhelm
2013-01-04 21:33:22 +01:00
Bengt Rutisson
2cd5c87cb9
8003820: Deprecate untested and rarely used GC combinations
...
Log warning messages for DefNew+CMS and ParNew+SerialOld
Reviewed-by: ysr, jwilhelm, jcoomes
2013-01-04 11:10:17 +01:00
Bengt Rutisson
53cdde9124
8005396: Use ParNew with only one thread instead of DefNew as default for CMS on single CPU machines
...
Reviewed-by: jmasa, jcoomes
2012-12-30 08:47:52 +01:00
Yumin Qi
a5fbc1aa4d
Merge
2012-12-24 11:46:38 -08:00
Roland Westrelin
73d6d417be
8005071: Incremental inlining for JSR 292
...
Post parse inlining driven by number of live nodes.
Reviewed-by: twisti, kvn, jrose
2012-12-23 17:08:22 +01:00
Ron Durbin
9c761152db
8005044: remove crufty '_g' support from HS runtime code
...
Phase 2 is removing '_g' support from the Runtime code.
Reviewed-by: dcubed, coleenp, hseigel
2012-12-19 10:35:08 -08:00
Erik Helin
7e892709bd
7198334: UseNUMA modifies system parameters on non-NUMA system
...
The flags MinHeapDeltaBytes and UseNUMAInterleaving must be adjusted after the OS have adjusted the UseNUMA flag in the method os::init_2.
Reviewed-by: dholmes, brutisso
2012-11-20 11:40:11 +01:00
Harold Seigel
a28380d97e
7122219: Passed StringTableSize value not verified
...
Check that the values specified for -XX:StringTableSize are within a certain range.
Reviewed-by: dholmes, coleenp
2012-11-12 15:58:11 -05:00
Alejandro Murillo
d03b95a6e8
Merge
2012-11-02 07:35:41 -07:00
Lana Steuck
da89e5624c
Merge
2012-10-30 13:56:59 -07:00
Harold Seigel
4e5ebae2d3
7191817: -XX:+UseSerialGC -XX:+UseLargePages crashes with SIGFPE on MacOS X
...
Disable -XX:+UseLargePages for MacOS X
Reviewed-by: dholmes, coleenp, sla
2012-10-25 16:33:40 -04:00
Harold Seigel
fc938fcbd9
7188234: Deprecate VM command line options
...
Remove support for the UseVectoredExceptions flag
Reviewed-by: jcoomes, kamg
2012-10-25 16:33:15 -04:00
Abhijit Saha
19fc2d4d88
Merge
2012-10-18 21:58:55 -07:00
Harold Seigel
240b5c9329
7053130: hs_err file does not record specified CLASSPATH
...
Added code to write the value of the java.class.path property to the hs_err file.
Reviewed-by: kmo, dholmes, kvn
2012-10-18 13:09:47 -04:00
Harold Seigel
e9755cef6a
7188233: UseVMInterruptibleIO flag deprecate for JDK8
...
The -XX:+UseVMInterruptibleIO flag is deprecated for JDK8. The flag will still enable Interruptible IO on Solaris, but users will get a warning.
Reviewed-by: dholmes, acorn, alanb
2012-10-18 13:08:13 -04:00
Gary Collins
3a32124e5c
Merge
2012-10-12 11:31:27 -07:00