John Cuthbertson
5382e0759e
8015237: Parallelize string table scanning during strong root processing
...
Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.
Reviewed-by: tschatzl, stefank, twisti
2013-06-18 12:31:07 -07:00
Andreas Schoesser
e97599b826
8015660: Test8009761.java "Failed: init recursive calls: 24. After deopt 25"
...
Windows reserves and only partially commits thread stack. For detecting more thread stack space for execution, Windows installs one-shot page as guard page just before the current commited edge. It will trigger STACK_OVERFLOW_EXCEPTION when lands on last 4 pages of thread stack space. StackYellowPages default value is 2 on Windows (plus 1 page of StackRedPages, 3 pages guarded by hotspot) so the exception happens one page before Yellow pages. Same route executed second time will have one more page brought in, this leads same execution with different stack depth(interpreter mode). We need match Windows settings so the stack overflow exception will not happen before Yellow pages.
Reviewed-by: dholmes
2013-06-18 09:08:35 -07:00
Zhengyu Gu
43c33d40c3
Merge
2013-06-18 09:34:16 -04: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
David Chase
7ddef5cd69
8002160: Compilation issue with adlc using latest SunStudio compilers
...
Modify declaration of 'swap' overloading; dodge optimizer bug in c1_LIR.cpp
Reviewed-by: kvn, jrose
2013-06-17 12:35:53 -04:00
Staffan Larsen
055cce652b
8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
...
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02:00
Chris Hegarty
ae4642e749
Merge
2013-06-17 11:17:49 +01: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
Niclas Adlertz
9129e6dc2b
8016157: During CTW: C2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block
...
Disable rematerialization for negD node
Reviewed-by: kvn, roland
2013-06-14 01:19:56 +02:00
David Chase
d6402d4452
8010124: JVM_GetClassContext: use GrowableArray instead of KlassLink
...
Replace linked data structure with array (performance)
Co-authored-by: Christian Thalinger <christian.thalinger@oracle.com>
Reviewed-by: kvn
2013-06-13 15:39:47 -04:00
Erik Helin
2eab1610b0
8015683: object_count_after_gc should have the same timestamp for all events
...
Reviewed-by: mgerdin, stefank
2013-06-12 15:21:41 +02:00
Erik Helin
f9c8b8769a
8016170: GC id variable in gcTrace.cpp should use typedef GCId
...
Reviewed-by: johnc, jwilhelm, jmasa
2013-06-12 15:50:14 +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
David Simms
1859ec2556
6671508: JNI GetPrimitiveArrayCritical should not be callable on object arrays
...
Checked JNI now reports error for Get/ReleasePrimitiveArrayCritical on object arrays
Reviewed-by: dholmes, acorn
2013-07-16 07:33:29 +02:00
Tim Bell
a47de580e7
8015759: hotspot changes needed to compile with Visual Studio 2012
...
Reviewed-by: anthony, dholmes, dcubed
2013-07-15 23:23:15 -04:00
Rickard Bäckman
63912d82f0
Merge
2013-07-15 12:06:50 +02:00
David Simms
2d5af88356
8019324: assert(_f2 == 0 || _f2 == f2) failed: illegal field change
...
Reviewed-by: dholmes, rbackman
2013-07-15 11:35:10 +02:00
Frederic Parain
0f4447e6dd
Merge
2013-07-15 00:23:48 -07:00
Christian Tornqvist
e67d425245
Merge
2013-07-12 20:47:23 +02: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
Zhengyu Gu
859de70b8a
Merge
2013-07-12 04:35:52 -07:00
Zhengyu Gu
9ff3405151
8012241: NMT huge memory footprint, it usually leads to OOME
...
Enforce memory limitation on NMT to prevent JVM OOM
Reviewed-by: acorn, dcubed, minqi
2013-07-11 13:15:12 -04:00
Frederic Parain
c716fa083c
7143807: ResourceMark nesting problem in stringStream
...
Reviewed-by: kvn, dcubed
2013-07-10 15:49:15 +00:00
Rickard Bäckman
2977c8fca3
8016444: Duplicate zombie check in safe_for_sender
...
Reviewed-by: dholmes, sla
2013-06-12 09:49:42 +02:00
Volker Simonis
8ce6e0db3d
7060111: race condition in VMError::report_and_die()
...
Reviewed-by: zgu, coleenp
2013-07-01 09:13:19 +00:00
Lois Foltan
17ebe26fa0
7007040: Check of capacity paramenters in JNI_PushLocalFrame is wrong
...
Changed AND to OR
Reviewed-by: coleenp, hseigel
2013-06-30 09:59:08 -04:00
Daniel D. Daugherty
326b206183
Merge
2013-06-29 11:55:09 -07:00
Nils Loodin
5fe1de50f1
Merge
2013-06-28 14:05:27 +02:00
Ioi Lam
8d048d554d
8016075: Win32 crash with CDS enabled and small heap size
...
Fixed MetaspaceShared::is_in_shared_space
Reviewed-by: coleenp, hseigel
2013-06-27 10:03:21 -07:00
Zhengyu Gu
80e0d9a6c2
Merge
2013-06-25 14:51:46 -07:00
Zhengyu Gu
4f7010b973
8017478: Kitchensink crashed with SIGSEGV in BaselineReporter::diff_callsites
...
Fixed possible NULL pointer that caused SIGSEGV
Reviewed-by: coleenp, acorn, ctornqvi
2013-06-25 17:22:04 -04:00
Vladimir Kozlov
5da819f494
Merge
2013-06-11 16:40:31 -07:00
David Chase
219121826e
8014959: assert(Compile::current()->live_nodes() < (uint)MaxNodeLimit) failed: Live Node limit exceeded limit
...
Insert extra checks and bailouts for too many nodes
Reviewed-by: kvn
2013-06-11 16:34:34 -04:00
Christian Thalinger
f2a70d7310
8003268: SharedRuntime::generate_native_wrapper doesn't save all registers across runtime tracing calls for JNI critical native methods
...
Reviewed-by: kvn
2013-06-11 11:13:09 -07:00
Zhengyu Gu
87505d60f6
8013917: Kitchensink crashed with SIGSEGV in BaselineReporter::diff_callsites
...
Simple fix when memory allocation site is gone, NMT should report 0 memory size, instead old memory size.
Reviewed-by: dcubed, ctornqvi
2013-06-10 10:45:19 -04:00
Markus Grönlund
08f43d4379
8016105: Add complementary RETURN_NULL allocation macros in allocation.hpp
...
Reviewed-by: sla, rbackman
2013-06-15 13:17:36 +02:00
Serguei Spitsyn
c6b677315f
Merge
2013-06-14 22:34:08 -07:00
Daniel D. Daugherty
9545142734
Merge
2013-06-14 19:49:58 -07:00
Zhengyu Gu
b9dc514e6c
Merge
2013-06-14 15:20:32 -07:00
Serguei Spitsyn
f0d506b4b5
6493116: JVMTI Doc: GetOwnedMonitorStackDepthInfo has a typo in monitor_info_ptr parameter description
...
A typo in the parameter spelling, a bound update missed when the parameter was renamed
Reviewed-by: sla, minqi
2013-06-14 15:17:10 -07:00
Ron Durbin
be6e745755
7178026: os::close can restart ::close but that is not a restartable syscall
...
Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms.
Reviewed-by: dcubed, dholmes
2013-06-14 07:46:22 -07:00
Zhengyu Gu
737454c744
8011968: Kitchensink crashed with SIGSEGV in MemBaseline::baseline
...
Simple fix to add NULL pointer check that can cause segv
Reviewed-by: coleenp, ctornqvi
2013-06-14 09:18:42 -04: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
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +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
Vladimir Kozlov
adc8d722f0
Merge
2013-06-07 11:43:53 -07:00
Tao Mao
1ddf2378db
7122222: GC log is limited to 2G for 32-bit
...
Enable large file support for generated 32-bit ostream.o on Linux and Solaris (as only the two need this) by setting -D_FILE_OFFSET_BITS=64 in compilation
Reviewed-by: tbell, mgerdin, dcubed
2013-06-07 09:46:58 -07:00
Morris Meyer
690abe1b20
8015437: SPARC cbcond branch offset out of 10-bit range
...
Forced SPARC MacroAssembler eden_alloate to use long branch to slow case
Reviewed-by: kvn, twisti
2013-06-07 07:33:35 -07:00