1316 Commits

Author SHA1 Message Date
Hiroshi Yamauchi
6060a2999c 6412968: CMS Long initial mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-25 11:07:23 -07:00
Hiroshi Yamauchi
5c9dbad612 6990419: CMS Remaining work for 6572569: consistently skewed work distribution in (long) re-mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-23 09:49:11 -07:00
Yumin Qi
a58e25d0b4 Merge 2013-07-18 18:00:39 -07:00
Calvin Cheung
1a1e83be6a 8004872: Early loading of HashMap and StringValue under -XX:+AggressiveOpts can be removed
This fix also removes the -XX:+UseStringCache option

Reviewed-by: dholmes, acorn, iklam
2013-07-18 14:57:51 -07:00
Daniel D. Daugherty
c2c0ba529a Merge 2013-07-18 12:35:55 -07:00
Daniel D. Daugherty
c421e7a0d3 Merge 2013-07-18 12:05:32 -07:00
Rickard Bäckman
2d77390705 8020701: Avoid crashes in WatcherThread
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
Carlos Lucasius
235c30f21c Merge 2013-07-15 12:24:32 -04:00
Roland Westrelin
d9ae342dff Merge 2013-07-11 01:11:52 -07:00
Albert Noll
93d49935a9 8016749: -XX:+UseISM fails an assert(obj->is_oop()) when running SPECjbb2005
Remove obsolete code that relates to ISM which was used only on Solaris 8.

Reviewed-by: kvn, twisti
2013-07-10 13:33:56 -07:00
Karen Kinnear
ed46fe2de9 8013635: VM should no longer create bridges for generic signatures
Requires: 8013789: Compiler bridges, 8015402: metafactory

Reviewed-by: sspitsyn, coleenp, bharadwaj
2013-07-09 14:02:28 -04:00
Albert Noll
1bc320c73a 8015635: Crash when specifying very large code cache size
Limit the size of the code cache to at most 2G when arguments are checked; added regression test

Reviewed-by: kvn, twisti
2013-07-09 11:48:05 +02:00
Jiangli Zhou
be1bcb5b41 Merge 2013-07-08 14:53:52 -07:00
Goetz Lindenmaier
85fedf2714 8020059: The flag introduced by 8014972 is not defined if Hotspot is built without a compiler (zero, ppc64 core build)
Define CodeCacheMinimumUseSpace flag for cppInterpeter build.

Reviewed-by: kvn
2013-07-08 14:15:02 -07:00
Jiangli Zhou
536e85289d Merge 2013-07-08 14:21:20 -04:00
Ioi Lam
1958240c6f 8016903: Thread::_handle_area initial size too big
Changed initial size to Chunk::tiny_size (216 bytes)

Reviewed-by: coleenp, dholmes, sspitsyn
2013-07-08 10:58:48 -07:00
Frederic Parain
7f314c6d87 Merge 2013-07-05 08:09:40 -07:00
Daniel D. Daugherty
765f5cd4e7 8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test

Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Roland Westrelin
6864f9f8a8 Merge 2013-07-04 01:42:34 -07:00
Tao Mao
c02e42d05e Merge 2013-07-03 15:04:53 -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
Christian Thalinger
3fb7de3d0d Merge 2013-07-02 22:51:23 -07:00
Christian Thalinger
90c790728d 8017571: JSR292: JVM crashing on assert "cast to instanceKlass" while producing MethodHandle for array methods with MethodHandle.findVirtual
Reviewed-by: kvn
2013-07-02 20:27:00 -07:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Coleen Phillimore
4ecee47075 Merge 2013-07-02 16:54:24 +02:00
Coleen Phillimore
1e7c006d39 8015391: NPG: With -XX:+UseCompressedKlassPointers OOME due to exhausted metadata space could occur when metaspace is almost empty
Allocate medium chunks for class metaspace when class loader has lots of classes

Reviewed-by: mgerdin, jmasa
2013-07-02 08:42:37 -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
Erik Helin
f72bcd09ec Merge 2013-06-28 18:28:17 +02: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
Coleen Phillimore
39a1c1d6c2 8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses.

Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Ioi Lam
196c8abc3d 8009575: Reduce Symbol::_refcount from 4 bytes to 2 bytes
Added Atomic::inc(short*) to support this change.

Reviewed-by: coleenp, dcubed, dholmes, minqi
2013-06-23 22:08:28 -07:00
Daniel D. Daugherty
1c281a9fb3 Merge 2013-06-21 10:55:26 -07:00
Daniel D. Daugherty
b786264739 Merge 2013-06-21 08:18:08 -07:00
Doug Simon
42ca17cea2 8017177: more explicit code location information in hs_err crash log
Add code pc location for compiled code

Reviewed-by: kvn, coleenp
2013-06-21 10:57:00 -04:00
Coleen Phillimore
90292afbfa 8004124: Handle and/or warn about SI_KERNEL
Detect this crash in the signal handler and give a fatal error message instead of making us chase down bugs that don't reproduce

Reviewed-by: kvn, mgerdin, dholmes
2013-06-21 10:50:19 -04:00
Vladimir Kozlov
175419c053 Merge 2013-06-20 16:08:11 -07:00
Goetz Lindenmaier
ef69ce852c 8016697: Use stubs to implement safefetch
Implement Safefetch as stub routines. This reduces compiler and os dependencies.

Reviewed-by: twisti, kvn
2013-06-20 15:02:05 +02:00
Markus Grönlund
e7b16a5e79 8016735: Remove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
Reviewed-by: sla, dholmes
2013-06-20 11:53:51 +02:00
Erik Helin
774e23fae7 Merge 2013-06-20 10:03:58 +02:00
Ioi Lam
0decdc537a 8008964: NPG: Memory regression: Thread::_metadata_handles uses 1 KB per thread
Reduce default size of Thread::_metadata_handles from 300 to 30

Reviewed-by: coleenp, sspitsyn
2013-06-19 20:51:39 -07:00
Zhengyu Gu
61a30f035b 8013651: NMT: reserve/release sequence id's in incorrect order due to race
Fixed NMT race condition for realloc, uncommit and release

Reviewed-by: coleenp, ccheung
2013-06-18 08:44:08 -04:00
Vladimir Kozlov
55f6f35697 Merge 2013-06-14 16:33:34 -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
Rickard Bäckman
9a67229e2f 8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
Reviewed-by: jrose, kvn, mgronlun
2013-06-12 11:17:39 +02:00
Frederic Parain
0f4447e6dd Merge 2013-07-15 00:23:48 -07:00
Peter Allwin
221308625d 7162400: Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand
Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand

Reviewed-by: dcubed, dholmes, sspitsyn, mgerdin, ctornqvi, dsamersoff
2013-07-12 18:43:27 +02:00
Frederic Parain
c716fa083c 7143807: ResourceMark nesting problem in stringStream
Reviewed-by: kvn, dcubed
2013-07-10 15:49:15 +00:00
Calvin Cheung
53448fdbed 8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Daniel D. Daugherty
72a51a0c44 8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.

Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07:00