Morris Meyer
e4b1cf5f02
Merge
2013-03-24 12:43:13 -07:00
Daniel D. Daugherty
05b3bc59c3
Merge
2013-03-23 22:35:02 -07:00
John Cuthbertson
9c89e6d28a
8010463: G1: Crashes with -UseTLAB and heap verification
...
Some parts of the G1 heap can only be walked during a safepoint. Skip verifying these parts of the heap when verifying during JVM startup.
Reviewed-by: brutisso, tschatzl
2013-03-29 13:49:37 -07: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
Mikael Gerdin
89120e7827
7014552: gc/lock/jni/jnilockXXX works too slow on 1-processor machine
...
Keep a counter of how many times we were stalled by the GC locker, add a diagnostic flag which sets the limit.
Reviewed-by: brutisso, ehelin, johnc
2013-03-28 10:27:28 +01:00
Vladimir Danushevsky
85009b165f
Merge
2013-03-22 17:23:31 -07:00
Zhengyu Gu
661b263eb2
Merge
2013-03-21 06:53:53 -07:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Ron Durbin
a003234ac8
8010396: checking MallocMaxTestWords in testMalloc() function is redundant
...
Remove redundant checks in testMalloc and add assert.
Reviewed-by: dcubed, coleenp, dholmes
2013-03-20 20:44:54 -07: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
Zhengyu Gu
b799726f35
8009298: NMT: Special version of class loading/unloading with runThese stresses out NMT
...
8009777: NMT: add new NMT dcmd to control auto shutdown option
Added diagnostic VM option and DCmd command to allow NMT stay alive under stress situation
Reviewed-by: dcubed, coleenp
2013-03-20 09:42:48 -04:00
Coleen Phillimore
e21f2d67e1
8008217: CDS: Class data sharing limits the malloc heap on Solaris
...
In 64bit VM move CDS archive address to 32G on all platforms using new flag SharedBaseAddress. In 32bit VM set CDS archive address to 3Gb on Linux and let other OSs pick the address.
Reviewed-by: kvn, dcubed, zgu, hseigel
2013-03-20 08:04:54 -04:00
Ron Durbin
f4bcfd04ca
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
...
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out
Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.
Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00
Roland Westrelin
8f1814d874
8008555: Debugging code in compiled method sometimes leaks memory
...
Support for strings that have same life-time as code that uses them.
Reviewed-by: kvn, twisti
2013-03-18 13:19:06 +01:00
Bob Vandette
a28a83c4ed
Merge
2013-03-17 06:30:45 -07:00
Morris Meyer
c1d6693fcb
Merge
2013-03-15 18:44:08 -07:00
Bill Pittore
f5f5775dc3
8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs
...
Reviewed-by: dlong, alanb, mduigou
2013-03-15 15:20:40 -04:00
Alejandro Murillo
593a00095a
Merge
2013-03-15 11:18:39 -07:00
Stefan Karlsson
6567b83f0d
Merge
2013-03-15 04:39:05 -07:00
Stefan Karlsson
35177d7db2
Merge
2013-03-15 08:57:55 +01:00
Morris Meyer
5b2fed9809
Merge
2013-03-14 16:16:05 -07:00
Krystal Mo
79eaa97ca4
8010116: Abstract_VM_Version::internal_vm_info_string() should recognize VS2010 and VS2012
...
Add cases for _MSC_VER == 1600 and 1700
Reviewed-by: zgu
2013-03-14 13:22:04 -07:00
Vladimir Danushevsky
aa78ad11f8
Merge
2013-03-14 12:49:05 -04:00
Lana Steuck
4d0bc0dc58
Merge
2013-03-12 18:22:40 -07: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
Stefan Karlsson
2242377c11
Merge
2013-03-11 08:49:53 +01:00
Daniel D. Daugherty
fc336457e7
Merge
2013-03-08 17:49:52 -08:00
Daniel D. Daugherty
f73c8f1408
Merge
2013-03-08 17:14:22 -08:00
Joseph Provino
a68c69fd65
Merge
2013-03-08 12:35:18 -05:00
Coleen Phillimore
addd95f165
8003553: NPG: metaspace objects should be zeroed in constructors
...
Zero metadata in constructors, not in allocation (and some in constructors)
Reviewed-by: jmasa, sspitsyn
2013-03-08 11:47:57 -05:00
Morris Meyer
6723fac299
Merge
2013-03-07 14:46:20 -08: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
Stefan Karlsson
5e2fe0e935
Merge
2013-03-07 14:29:02 +01: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
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Morris Meyer
ff36c9800e
8008574: [parfait] Null pointer deference in hotspot/src/share/vm/runtime/frame.cpp
...
Fix null pointer
Reviewed-by: kvn
2013-03-05 04:24:33 -08:00
Daniel D. Daugherty
af6002665d
Merge
2013-03-01 15:59:10 -08:00
Bengt Rutisson
02472faab5
Merge
2013-02-28 09:01:08 +01:00
Daniel D. Daugherty
776841b1bc
8007476: assert(the_owner != NULL) failed: Did not find owning Java thread for lock word address
...
Make deadlock detection a little more robust in the case of being unable to find the JavaThread associated with an object lock.
Reviewed-by: sla, acorn
2013-02-27 15:00:30 -08:00
Edvard Wendelin
c6e54df5d6
Merge
2013-02-25 07:22:06 +01:00
Serguei Spitsyn
f85789e68a
Merge
2013-02-22 10:16:51 -08:00
Bill Pittore
e3f64880d0
Merge
2013-02-20 23:29:26 -05:00
Edvard Wendelin
3c21e13d68
Merge
2013-02-19 21:45:09 +01: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
Staffan Larsen
5265514689
8007901: SA: Don't read flag values as constants
...
Reviewed-by: dholmes, mikael
2013-02-18 10:43:07 +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