5052 Commits

Author SHA1 Message Date
Rickard Bäckman
84271f1c96 Merge 2014-07-24 14:38:26 +02:00
Jon Masamitsu
e242f23105 Merge 2014-07-23 14:06:28 -07:00
Zhengyu Gu
5b85e36189 Merge 2014-07-21 09:48:38 -04:00
Zhengyu Gu
944d684ea8 8050167: linux-sparcv9: hs_err file does not show any stack information
Fixed creation of starting stack frame for stack walking in error handler

Reviewed-by: coleenp, mikael
2014-07-21 06:00:44 -07:00
Kevin Walls
ce12891a06 Merge 2014-07-21 10:42:20 +00:00
Kevin Walls
ae2cb9b6e3 8049684: pstack crashes on java core dump
Reviewed-by: sundar, sspitsyn
2014-07-21 10:40:50 +01:00
Thomas Schatzl
bc56e061ec 8048112: G1 Full GC needs to support the case when the very first region is not available
Refactor preparation for compaction during Full GC so that it lazily initializes the first compaction point. This also avoids problems later when the first region may not be committed. Also reviewed by K. Barrett.

Reviewed-by: brutisso
2014-07-21 10:00:31 +02:00
Thomas Schatzl
ce1a131e47 8048088: Conservative maximum heap alignment should take vm_allocation_granularity into account
Also consider os::vm_allocation_granularity in the calculation.

Reviewed-by: brutisso
2014-07-21 09:59:54 +02:00
Thomas Schatzl
2e37a94622 8048085: Aborting marking just before remark results in useless additional clearing of the next mark bitmap
Skip clearing the next bitmap if we just recently aborted since the full GC already clears this bitmap.

Reviewed-by: brutisso
2014-07-21 09:59:46 +02:00
Thomas Schatzl
1ad5cdb4a4 8049051: Use of during_initial_mark_pause() in G1CollectorPolicy::record_collection_pause_end() prevents use of seperate object copy time prediction during marking
Replaced use of during_initial_mark_pause() with the variable last_pause_included_initial_mark that holds the real old value of _during_initial_mark_pause.

Reviewed-by: brutisso, ehelin
2014-07-21 09:59:37 +02:00
Serguei Spitsyn
b0367c3bea Merge 2014-07-18 23:53:59 -07:00
Jon Masamitsu
2d63b52aa7 Merge 2014-07-18 15:42:20 -07:00
Alejandro Murillo
f4aa8d51a5 Merge 2014-07-18 12:02:54 -07:00
Zhengyu Gu
039e3d7ccc 8050165: linux-sparcv9: NMT detail causes assert((intptr_t*)younger_sp[FP->sp_offset_in_saved_window()] == (intptr_t*)((intptr_t)sp - STACK_BIAS)) failed: younger_sp must be valid
Fixed native memory tracking stack walking

Reviewed-by: coleenp, mikael
2014-07-18 11:14:20 -07:00
Volker Simonis
66b93558ed 8051378: AIX: Change "8030763: Validate global memory allocation" breaks the HotSpot build
Reviewed-by: kvn
2014-07-18 19:56:02 +02:00
Coleen Phillimore
e051932425 Merge 2014-07-18 11:22:49 -04:00
Rickard Bäckman
eefe77eaff Merge 2014-07-18 10:41:05 +02:00
Andreas Schoesser
cabec1ca5e 8050978: Fix bad field access check in C1 and C2
JCK8 test vm/constantpool/accessControl/accessControl004/accessControl00402m3/accessControl00402m3.html fails with -Xbatch -Xcomp due to bad field access check in C1 and C2. Fix: In ciField::ciField(), just before the canonical holder is stored into the _holder variable (and which is used by ciField::will_link()) perform an additional access check with the holder declared in the class file. If this check fails, store the declared holder instead and ciField::will_link() will bail out compilation for this field later on. Then, the interpreter will throw an PrivilegedAccessException at runtime.

Reviewed-by: kvn, vlivanov
2014-07-18 09:04:01 +02:00
Tobias Hartmann
1caa674424 8051550: Printing of 'cmpN_reg_branch_short' instruction shows wrong 'op2' register
Missing '$' added to the format string of the 'cmpN_reg_branch_short' instruction (sparc.ad).

Reviewed-by: kvn, iveresov
2014-07-23 07:53:24 +02:00
Coleen Phillimore
3f0a945468 8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
Remove bcx and mdx handling.  We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.

Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
Volker Simonis
c17cd0d39f 8050228: Rename 'rem_size' in compactibleFreeListSpace.cpp because of name clashes on AIX
Reviewed-by: dholmes, jmasa
2014-07-17 11:32:09 +02:00
Martin Doerr
1439e307db 8050972: Concurrency problem in PcDesc cache
The entries of the PcDesc cache in nmethods are not declared as volatile, but they are accessed and modified by several threads concurrently.

Reviewed-by: kvn, dholmes, dcubed
2014-07-17 10:21:31 +02:00
Zoltan Majo
33058abb3f 8051303: 'optimized' build broken by JDK-8039425
Changed preprocessor directive in PhaseIterGVN::optimize()

Reviewed-by: kvn, anoll
2014-07-21 10:25:58 +02:00
Serguei Spitsyn
9048d50c9e Merge 2014-07-16 15:59:46 -07:00
Volker Simonis
f5ff5bab8e 8049441: PPC64: Don't use StubCodeMarks for zero-length stubs
Remove StubCodeMark in generate_icache_flush, generate_verify_oop, generate_throw_exception

Reviewed-by: dcubed, sspitsyn
2014-07-15 21:28:51 -07:00
Daniel D. Daugherty
a06d36cada 8049717: expose L1_data_cache_line_size for diagnostic/sanity checks
Add support for VM_Version::L1_data_cache_line_size().

Reviewed-by: dsimms, kvn, dholmes
2014-07-15 07:33:49 -07:00
Coleen Phillimore
c9b2bc62c9 Merge 2014-07-14 10:15:21 -04:00
Vladimir Ivanov
db4aa1aa54 8048703: ReplacedNodes dumps it's content to tty
Reviewed-by: roland, iveresov, drchase
2014-07-14 03:29:42 -07:00
Vladimir Ivanov
c24909197f 8049532: LogCompilation: C1: inlining tree is flat (no depth is stored)
Reviewed-by: roland, iveresov
2014-07-14 03:28:13 -07:00
Vladimir Ivanov
c51f489786 8049529: LogCompilation: annotate make_not_compilable with compilation level
Reviewed-by: roland, iveresov
2014-07-14 03:27:21 -07:00
Vladimir Ivanov
9b8aaef575 8049530: Provide descriptive failure reason for compilation tasks removed for the queue
Reviewed-by: roland, iveresov
2014-07-14 03:26:52 -07:00
Vladimir Ivanov
3dd313825d 8043546: C1 optimizes @Stable instance fields with default values
Reviewed-by: kvn, jrose
2014-07-14 03:25:40 -07:00
Vladimir Ivanov
34bf429064 8049528: Method marked w/ @ForceInline isn't inlined with "executed < MinInliningThreshold times" message
Reviewed-by: roland, jrose
2014-07-14 03:24:35 -07:00
Harold Seigel
0cc38ff4d5 8043454: Test case for 8037157 should not throw a VerifyError
Don't throw VerifyError if method is NULL.

Reviewed-by: acorn, lfoltan, mschoene
2014-07-14 13:31:03 +04:00
David Simms
e5b71580fb 8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
Increase the previous limit from 4k to 64k, added "-XX:MaxJNILocalCapacity=<capacity>" flag

Reviewed-by: hseigel, fparain
2014-07-14 10:52:52 +02:00
David Simms
23b30dee7e 8046668: Excessive checked JNI warnings from Java startup
Removed pedantic checked exception warnings for AIOOBException, add to current handle capacity

Reviewed-by: hseigel, lfoltan
2014-07-14 10:50:20 +02:00
David Chase
783c330477 Merge 2014-07-11 23:54:16 +00:00
David Chase
1379a7f2f0 8036588: VerifyFieldClosure fails instanceKlass:3133
Changed deopt live-pointer test to use returns-object instead of live-and-returns-object

Reviewed-by: iveresov, kvn, jrose
2014-07-11 19:51:36 -04:00
Vladimir Kozlov
009f0fb913 Merge 2014-07-11 14:32:02 -07:00
Serguei Spitsyn
206c37a5e6 Merge 2014-07-12 01:26:13 -07:00
Jon Masamitsu
5de58bc127 Merge 2014-07-11 11:14:40 -07:00
Jon Masamitsu
2506e35cc0 Merge 2014-07-11 05:59:08 -07:00
Roland Westrelin
471e47dddf Merge 2014-07-11 02:34:11 -07:00
Stefan Karlsson
a5b4cec253 8049831: Metadata Full GCs are not triggered when CMSClassUnloadingEnabled is turned off
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-07-11 09:07:23 +02:00
Serguei Spitsyn
36d6bfea4e 8013942: JSR 292: assert(type() == T_OBJECT) failed: type check
A dead scope  of the local needs to be identified

Reviewed-by: coleenp, vlivanov, mgronlun
2014-07-10 17:46:35 -07:00
Jon Masamitsu
fbe6d80096 Merge 2014-07-10 13:39:18 -07:00
Daniel D. Daugherty
4c156aa18c 8049104: resolve atomic.hpp wording issues from JDK-8047104 code review
Reviewed-by: dholmes, dice, rdurbin, acorn
2014-07-10 08:15:30 -07:00
Roland Westrelin
c0deb9e08a 8040237: nsk/jvmti/RetransformClasses/retransform001 crashed the VM on all platforms when run with with -server -Xcomp
Class redefinition may cause speculative trap clean up code to dereference dead method

Reviewed-by: kvn, coleenp
2014-07-10 15:12:48 +02:00
Coleen Phillimore
06cea98803 8048933: -XX:+TraceExceptions output should include the message
Add the exception detail message to the tracing output

Reviewed-by: minqi, dholmes
2014-07-09 22:37:48 -04:00
Erik Helin
b77bc85799 8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank, brutisso
2014-07-09 16:44:30 +02:00