Jesper Wilhelmsson
262b1413c1
Merge
2013-05-17 06:01:10 +02:00
Thomas Schatzl
b8276670c2
8014765: VM exits if MaxTenuringThreshold is set below the default InitialTenuringThreshold, and InitialTenuringThreshold is not set
...
The VM exits when the condition in the subject line applies. The fix sets InitialTenuringThreshold to MaxTenuringThreshold if it is larger than MaxTenuringThreshold and InitialTenuringThreshold has not been set (is default).
Reviewed-by: jwilhelm, jmasa, brutisso, johnc
2013-05-16 23:51:51 +02:00
Christian Thalinger
c6c7f3439e
Merge
2013-05-16 13:47:55 -07:00
Thomas Schatzl
8d53e75550
6843347: Boundary values in some public GC options cause crashes
...
Setting some public integer options to specific values causes crashes or undefined GC behavior. This patchset adds the necessary argument checking for these options.
Reviewed-by: jmasa, brutisso
2013-05-15 11:05:09 +02:00
Harold Seigel
3aa20631a9
8014138: Add VM option to facilitate the writing of CDS tests
...
Added the -XX:SharedArchiveFile option.
Reviewed-by: coleenp, ccheung, acorn, dcubed, zgu
2013-05-14 09:17:52 -04:00
Christian Thalinger
2c7c39072c
Merge
2013-05-13 12:43:10 -07:00
Rickard Bäckman
2d6560721c
Merge
2013-05-13 07:53:45 +02:00
John Cuthbertson
c38f8fc543
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
...
Refactor G1's hot card cache and card counts table into their own files. Simplify the card counts table, including removing the encoding of the card index in each entry. The card counts table now has a 1:1 correspondence with the cards spanned by heap. Space for the card counts table is reserved from virtual memory (rather than C heap) during JVM startup and is committed/expanded when the heap is expanded. Changes were also reviewed-by Vitaly Davidovich.
Reviewed-by: tschatzl, jmasa
2013-05-09 11:16:39 -07:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
David Holmes
49173becc7
Merge
2013-05-08 19:38:41 -04:00
Aleksey Shipilev
c24b224166
8006997: ContendedPaddingWidth should be range-checked
...
Constrain between zero and 8K
Reviewed-by: dholmes, rbackman
2013-05-08 19:28:54 -04:00
Harold Seigel
dc96e028d2
8007018: RFE: -XX:+UseLargePages does not work with CDS
...
Remove command line restriction. It should just work.
Reviewed-by: ctornqvi, coleenp, dholmes
2013-05-08 08:20:45 -04:00
Thomas Schatzl
9b9b515fb8
8006088: Incompatible heap size flags accepted by VM
...
Make processing of minimum, initial and maximum heap size more intiutive by removing previous limitations on allowed values, and make error reporting consistent. Further, fix errors in ergonomic heap sizing.
Reviewed-by: johnc, jwilhelm, tamao
2013-05-06 17:19:42 +02:00
Jesper Wilhelmsson
0c4933f5b0
Merge
2013-05-06 13:03:46 +02:00
Bengt Rutisson
d08bf8d1be
8013574: PrintMalloc conflicts with the command line parsing
...
Make sure that _num_jvm_args is not updated until the new entry to _jvm_args_array has been added
Reviewed-by: johnc, tamao, tschatzl
2013-05-02 22:35:15 +02:00
Jiangli Zhou
a4ca5b8a49
Merge
2013-04-29 01:58:43 -07:00
Carlos Lucasius
ab42e2c0ca
8010428: Special -agentpath checks needed with minimal VM to produce proper error message
...
Reviewed-by: dholmes, alanb, cjplummer, olagneau
2013-04-28 18:24:04 -04:00
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