Commit Graph

4881 Commits

Author SHA1 Message Date
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
Zhengyu Gu
5de65fba93 Merge 2013-07-04 04:03:28 -07:00
Zhengyu Gu
3e8c767620 8016074: NMT: assertion failed: assert(thread->thread_state() == from) failed: coming from wrong thread state
Uses os::NakedYield() on Solaris instead of os::yield_all()

Reviewed-by: acorn, coleenp, hseigel
2013-07-04 06:24:08 -04:00
Sylvestre Ledru
eeba729b55 8019833: Wrong JNI error code for preexisting JVM
Return the appropriate JNI error message (instead of the generic one) when the JVM is already started

Reviewed-by: coleenp, hseigel
2013-07-03 13:45:39 -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
Tomas Hurka
425681caec 8009204: [dtrace] signatures returned by Java 7 jstack() are corrupted on Solaris
The fix is basically a backport of JDK-7019165 (pstack issue) to jhelper.d.

Reviewed-by: coleenp, sspitsyn
2013-07-01 14:13:12 -07:00
Erik Gahlin
bb7b31d9ff 8016331: Minor issues in event tracing metadata
Reviewed-by: stefank, brutisso, mgronlun
2013-06-26 17:02:04 +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
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
David Holmes
e5fa731ce9 8014326: [OSX] All libjvm symbols are exported
Add support for a MacOS X compatible form of the libjvm mapfile.

Reviewed-by: dcubed, rdurbin, coleenp
2013-06-19 13:14:03 -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
Staffan Larsen
055cce652b 8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02: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
Alejandro Murillo
13bcac6e93 8019302: new hotspot build - hs25-b40
Reviewed-by: jcoomes
2013-06-28 02:33:13 -07:00
Alejandro Murillo
bac4ba3939 Added tag hs25-b39 for changeset 4056af328b00 2013-06-28 02:25:08 -07:00
Alejandro Murillo
c2c1793452 Merge 2013-06-28 02:25:07 -07:00
David Katleman
20294ba90e Added tag jdk8-b96 for changeset 14d9242a9dc9 2013-06-27 13:40:18 -07:00
Vladimir Kozlov
579c7ac5ab Merge 2013-06-27 11:12:19 -07: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
Erik Helin
62be1fc827 Merge 2013-06-27 10:56:10 +02:00
David Katleman
dcb3a24cfc 8017323: JDK8 b95 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:25:42 -07:00
Erik Helin
604a75ff30 8013590: NPG: Add a memory pool MXBean for Metaspace
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Kevin Walls
e6cc930488 Merge 2013-06-26 11:00:11 +02:00
Kevin Walls
08377de5ab 8010278: SA: provide mechanism for using an alternative SA debugger back-end
Reviewed-by: sla, dsamersoff
2013-06-26 00:01:20 +01:00
Jon Masamitsu
ca3a1be3fe 8014851: UseAdaptiveGCBoundary is broken
Reviewed-by: tschatzl, brutisso
2013-06-25 15:17:11 -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
Alejandro Murillo
2289eb801f Merge 2013-06-25 12:46:21 -07:00
Jon Masamitsu
a154f7c01e 8014546: MetaspaceAux print_metaspace_change() should print "used" after GC not capacity
Reviewed-by: johnc, tschatzl
2013-06-25 09:58:26 -07:00
Staffan Larsen
7b2e1c47f4 8017561: Build errors caused by missing .PHONY
Reviewed-by: stefank, brutisso
2013-06-25 14:11:57 +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
Lana Steuck
68a84342d4 Merge 2013-06-24 14:27:24 -07:00
Goetz Lindenmaier
1f6c4015a7 8017531: 8010460 changes broke bytecodeInterpreter.cpp
Replace _indy by _jsr292 and also fix VERIFY_OOP macros.

Reviewed-by: kvn
2013-06-24 16:11:47 +02:00
Niclas Adlertz
2b66900257 8017510: Add a regression test for 8005956
Regression test for 8005956

Reviewed-by: kvn, twisti
2013-06-26 00:40:13 +02:00
Niclas Adlertz
19d56715fa 8017243: 8001345 is incomplete
Replaces unused decodeN at MemBarAcquire with its corresponding loadN if loadN is used at more than one place.

Reviewed-by: kvn, twisti
2013-06-25 12:07:07 -07:00
Christian Thalinger
d5d79568d0 Merge 2013-06-24 18:23:45 -07:00
Christian Thalinger
de4b9daceb 8017538: Clang support broke slowdebug build for i586
Reviewed-by: kvn
2013-06-24 17:47:25 -07:00
Goetz Lindenmaier
fad60d1428 8017308: Remove unused breakpoint relocation type
Remove unused breakpoint relocation type

Reviewed-by: kvn
2013-06-24 11:53:54 -07: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