273 Commits

Author SHA1 Message Date
Harold Seigel
54b7ae1ff9 8009928: PSR:PERF Increase default string table size
Increase default string table size to 60013 for 64-bit platforms.

Reviewed-by: coleenp, dholmes
2013-04-17 08:20:02 -04:00
Mikael Gerdin
0393fa9b49 Merge 2013-04-11 16:35:34 +02:00
Daniel D. Daugherty
78339229bb Merge 2013-04-05 10:38:08 -07:00
Mikael Gerdin
c17d80e53d Merge 2013-04-04 19:07:32 +02:00
Mikael Vidstedt
eeb83733a6 8003310: Enable -Wunused-function when compiling with gcc
Add the -Wunused-function flag and remove a number of unused functions.

Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Mikael Gerdin
0a963fd1b7 Merge 2013-04-03 09:19:02 +02:00
Daniel D. Daugherty
2484584e6d Merge 2013-03-29 08:38:00 -07:00
Bengt Rutisson
fe88c92e9e Merge 2013-03-28 09:07:44 +01:00
Yumin Qi
76cc94fb99 2178143: JVM crashes if the number of bound CPUs changed during runtime
Supply a new flag -XX:+AssumeMP to workaround the problem. With the flag is turned on, assume VM run on MP platform so is_MP() will return true that sync calls will not skip away.

Reviewed-by: dholmes, acorn, dcubed, jmasa
2013-03-27 17:03:19 -07:00
Harold Seigel
feec2af7b4 8009595: The UseSplitVerifier option needs to be deprecated
Put UseSplitVerifier option on the deprecated list.

Reviewed-by: dcubed, kmo, acorn
2013-03-26 09:06:16 -04:00
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