452 Commits

Author SHA1 Message Date
Jiangli Zhou
536e85289d Merge 2013-07-08 14:21:20 -04:00
Roland Westrelin
6864f9f8a8 Merge 2013-07-04 01:42:34 -07:00
Jiangli Zhou
b454ece6d7 7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.

Reviewed-by: stefank, coleenp
2013-07-03 17:26:59 -04:00
Albert Noll
386e37ba15 8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
Introduce a minimum code cache size that guarantees that the VM can startup.

Reviewed-by: kvn, twisti
2013-07-02 07:51:31 +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
Bengt Rutisson
d3dfbb3cf2 8017483: G1 tests fail with native OOME on Solaris x86 after HeapBaseMinAddress has been increased
Set HeapBaseMinAddress as default rather than ergo

Reviewed-by: stefank, jmasa, kvn
2013-06-27 09:59:59 +02:00
Vladimir Kozlov
175419c053 Merge 2013-06-20 16:08:11 -07:00
Bengt Rutisson
f18e968d43 8012265: VM often crashes on solaris with a lot of memory
Increase HeapBaseMinAddress for G1 from 256m to 1g on Solaris x86

Reviewed-by: mgerdin, coleenp, kvn
2013-06-14 08:02:32 +02:00
Morris Meyer
5b2339a7a2 8008407: remove SPARC V8 support
Removed most of the SPARC V8 instructions

Reviewed-by: kvn, twisti
2013-06-07 16:46:37 -07:00
Albert Noll
34f8be0bc9 8013496: Code cache management command line options work only in special order. Another order of arguments does not deliver the second parameter to the jvm
Moved check that ReservedCodeCacheSize >= InitialCodeCacheSize to Arguments::check_vm_args_consistency(). As a result, the ordering in which the two parameters are given to the VM is not relevant. Added a regression test.

Reviewed-by: kvn, twisti
2013-05-31 06:41:50 +02:00
Albert Noll
114b578228 8012371: Adjust Tiered compile threshold according to available space in code cache
Added command line parameter to define a threshold at which C1 compilation threshold for  is increased.

Reviewed-by: kvn, iveresov
2013-05-16 15:46:49 +02:00
Jesper Wilhelmsson
df1556095b Merge 2013-05-17 08:00:01 +02:00
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