3971 Commits

Author SHA1 Message Date
Lois Foltan
7bf953d005 7195622: CheckUnhandledOops has limited usefulness now
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.

Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
David Simms
d5157be0e8 8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL)
Execute some code at a high virtual address value, and keep mapped

Reviewed-by: coleenp, zgu
2013-09-25 13:58:13 +02:00
Ioi Lam
522051490c 8025088: Missing cases for JVM_CONSTANT_MethodHandleInError cause crash if debugger steps into error-tagged method handle
Need to refetch each method from InstanceKlass after all safepoints.  Removed leaky PreviousVersionInfo code.

Reviewed-by: coleenp, sspitsyn
2013-09-23 08:56:19 -07:00
Yasumasa Suenaga
5bc8cd08aa 6989981: jstack causes "fatal error: ExceptionMark destructor expects no pending exceptions"
Reviewed-by: sla, dsamersoff
2013-09-22 06:31:43 -07:00
Daniel D. Daugherty
80b2573b1c Merge 2013-09-20 18:19:07 -07:00
Coleen Phillimore
8b0c5e2524 Merge 2013-09-21 01:45:29 +02:00
Coleen Phillimore
42589e0f11 8014956: nashorn/api/javaaccess/MethodAccessTest.java test fails on sparc-solaris 64
Reference_map[] array had uninitialized junk that was causing a bogus bootstrap method to be found.

Reviewed-by: hseigel, dcubed, sspitsyn
2013-09-20 18:34:00 -04:00
Daniel D. Daugherty
156b06d897 Merge 2013-09-20 12:58:35 -07:00
Mikael Gerdin
04f41894db Merge 2013-09-20 10:34:41 -07:00
Coleen Phillimore
ffb0a9d569 Merge 2013-09-20 09:44:04 -04:00
Coleen Phillimore
ec5e07f810 8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
Need to refetch each method from InstanceKlass after all safepoints.  Removed leaky PreviousVersionInfo code.

Reviewed-by: dcubed, sspitsyn
2013-09-20 09:30:02 -04:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +02:00
Harold Seigel
a1f3a95880 8024517: runtime/CDSCompressedKPtrs/XShareAuto.java failed with RuntimeException
Make sure CDS is off by default when running server compiler.

Reviewed-by: dholmes, coleenp
2013-09-19 11:04:23 -04:00
Thomas Schatzl
0a1b832ae0 Merge 2013-09-19 09:34:20 +02:00
Thomas Schatzl
9005953c71 Merge 2013-09-19 09:26:08 +02:00
Kevin Walls
d2b68f0d0f Merge 2013-09-19 08:47:46 +02:00
Bertrand Delsart
765632873a Merge 2013-09-18 21:47:51 -07:00
Mike Duigou
82705bda51 8024826: (s) : Remove alt-rt.jar, used by +AggressiveOps
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-18 20:08:00 -04:00
Igor Veresov
f99391ee6f 8023542: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client,-server) is running
Move null check before klass reference materialization in checkcast

Reviewed-by: kvn, roland
2013-09-18 14:10:21 -07:00
Kevin Walls
191f6c346d Merge 2013-09-18 19:50:44 +02:00
Daniel D. Daugherty
41bce440a4 8019835: Strings interned in different threads equal but does not ==
Add -XX:+VerifyStringTableAtExit option and code to verify StringTable invariants.

Reviewed-by: rdurbin, sspitsyn, coleenp
2013-09-18 07:02:10 -07:00
Thomas Schatzl
3111ab9115 Merge 2013-09-18 15:59:41 +02:00
Sergey Gabdurakhmanov
c5c705217b 8022836: JVM crashes in JVMTIENVBASE::GET_CURRENT_CONTENDED_MONITOR and GET_OWNED_MONITOR
Check that the _java_thread parameter is valid when it is possible that the JavaThread has exited after the initial checks were made in generated/jvmtifiles/jvmtiEnter.cpp: jvmti_GetCurrentContendedMonitor()

Reviewed-by: dcubed, dsamersoff
2013-09-18 16:48:49 +04:00
Thomas Schatzl
f6e98b8181 8024669: Native OOME when allocating after changes to maximum heap supporting Coops sizing on sparcv9
After changes in 8010722 the ergonomics for calculating the size of the heap that supports zero based compressed oops changed. This lead to the VM actually using zero based compressed oops. Due to low default HeapBaseMinAddress, the OS mapping in the application image at the same address, and limitations of the malloc implementation on Solaris this resulted in very little C heap available for the VM. So the VM immediately gives a native OOME when the machine has lots of physical memory (>=32G). The solution is to increase the HeapBaseMinAddress so that the VM has enough C heap.

Reviewed-by: kvn, brutisso
2013-09-18 13:18:52 +02:00
Rickard Bäckman
0f418a050c Merge 2013-09-18 09:31:01 +02:00
Albert Noll
73fa617082 8022883: Assertion failed: sweptCount >= flushedCount + markedCount + zombifiedCount
Provide correct number of visited nmethods to Tracing

Reviewed-by: kvn, iveresov
2013-09-18 07:22:20 +02:00
John R Rose
d0ad8f875c Merge 2013-09-17 20:48:42 -07:00
Niclas Adlertz
aadc88fb53 Merge 2013-09-17 16:07:37 -07:00
Erik Helin
2cab7ea037 8024718: Metaspace performance counters and memory pools should report the same data
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Peter Allwin
86d8a77b06 7196151: ParserTest SEGv on solaris
Reviewed-by: sla, coleenp, ctornqvi, dsamersoff
2013-09-17 17:16:28 +02:00
Niclas Adlertz
c2ed47a76e Merge 2013-09-17 05:30:19 -07:00
Dan Horak
7e77954221 8024914: Swapped usage of idx_t and bm_word_t types in bitMap.inline.hpp
Incorrect usage of idx_t where bm_word_t is appropriate.

Reviewed-by: tschatzl, brutisso
2013-09-17 12:04:11 +02:00
Albert Noll
d11f6f252b 8024128: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation
Increase interpreter size for x86 template interpreter

Reviewed-by: kvn, iveresov
2013-09-17 08:39:20 +02:00
Yumin Qi
81760af364 Merge 2013-09-16 18:39:53 -07:00
Yumin Qi
0cd7bc2cde 7164841: Improvements to the GC log file rotation
Made changes to easily identify current log file in rotation. Parameterize the input with %t for time replacement in file name.

Reviewed-by: ccheung, tschatzl, tamao, zgu
2013-09-16 15:35:04 -07:00
Karen Kinnear
9fb6519ce0 Merge 2013-09-16 15:24:11 -07:00
Karen Kinnear
9505ddf1e2 8024647: Default method resolution with private superclass method
Reviewed-by: kamg, minqi
2013-09-16 17:57:56 -04:00
Gerald Thornbrugh
dffefd9ecf 6986195: correctly identify Ubuntu as the operating system in crash report instead of "Debian"
Cleanup and document how various Linux release info files are used by print_distro_info().

Reviewed-by: dcubed, dsamersoff, coleenp, iklam, omajid
2013-09-16 12:43:34 -07:00
David Holmes
139c3e6621 6900441: PlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock
Associate CLOCK_MONOTONIC with the pthread_cond_t objects used for relative timed waits

Reviewed-by: dcubed, shade
2013-09-16 07:38:13 -04:00
Thomas Schatzl
05929860a5 Merge 2013-09-16 13:32:44 +02:00
Thomas Schatzl
3184042cd1 8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages
Loosen wrong assert for UseParallelOldGC to UseParallelGC

Reviewed-by: stefank, brutisso
2013-09-16 10:20:45 +02:00
Thomas Schatzl
b4e927d2a9 Merge 2013-09-16 09:41:03 +02:00
David Chase
222c735458 8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Enhance method resolution and resulting data structures, plus some refactoring.

Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
Serguei Spitsyn
59a89ae1e1 Merge 2013-09-13 16:56:58 -07:00
Christian Thalinger
4fa99b3fc5 8024760: add more types, fields and constants to VMStructs
Reviewed-by: kvn, coleenp
2013-09-13 16:55:44 -07:00
Serguei Spitsyn
2823ae6943 8024346: ~CautiouslyPreserveExceptionMark - assert(!_thread->has_pending_exception()) failed: unexpected exception generated
Pending exceptions must be handled properly after a call to the JVMTI merge_cp_and_rewrite

Reviewed-by: coleenp, dholmes
2013-09-13 12:48:50 -07:00
Serguei Spitsyn
47e8234251 8024345: 'assert(_value != NULL) failed: resolving NULL _value' from VM_RedefineClasses::set_new_constant_pool
The OOME's in the JVMTI merge_cp_and_rewrite and set_new_constant_pool must be handled correctly

Reviewed-by: coleenp, dholmes
2013-09-13 12:47:44 -07:00
Serguei Spitsyn
5c11ecebfb 8017230: Internal Error (jvmtiRedefineClasses.cpp:1662): guarantee(false) failed: insert_space_at() failed
Handle pending exceptions instead of firing a guarantee()

Reviewed-by: coleenp, dholmes
2013-09-13 12:46:40 -07:00
Markus Grönlund
0b0de232e8 Merge 2013-09-13 19:20:59 +02:00
Markus Grönlund
dc42cb136d 8021353: Event based tracing is missing thread exit
Reviewed-by: allwin, acorn, dcubed, dholmes, egahlin
2013-09-13 17:47:00 +02:00