Coleen Phillimore
d230f0b4fd
8051398: jvmti tests fieldacc002, fieldmod002 fail in nightly with errors: (watch#0) wrong location
...
Didn't handle NULL bcp for native methods
Reviewed-by: dcubed, sspitsyn
2014-07-31 00:50:55 +00:00
Serguei Spitsyn
73cc0f6b76
Merge
2014-07-30 15:14:49 -07:00
Vladimir Kozlov
7a9fc5ff21
Merge
2014-07-29 21:28:09 +00:00
Vladimir Kozlov
4e83db432d
8049252: VerifyStack logic in Deoptimization::unpack_frames does not expect to see invoke bc at the top frame during normal deoptimization
...
Add missing check for reexecute flag to VerifyStack code.
Reviewed-by: roland
2014-07-29 13:40:58 -07:00
Tobias Hartmann
c36b77bbfd
8049043: Load variable through a pointer of an incompatible type in hotspot/src/share/vm/runtime/sharedRuntimeMath.hpp
...
Fixed parfait warnings caused by __HI and __LO macros in sharedRuntimeMath.hpp by using a union.
Reviewed-by: kvn, drchase
2014-07-29 13:56:29 +02:00
Tobias Hartmann
d2a5b70cdf
8040121: Load variable through a pointer of an incompatible type in src/hotspot/src/share/vm: opto/output.cpp, runtime/sharedRuntimeTrans.cpp, utilities/globalDefinitions_visCPP.hpp
...
Fixed parfait warnings in globalDefinitions files by using a union for casts.
Reviewed-by: kvn
2014-07-29 13:54:16 +02:00
Martin Doerr
071c3a3924
8050973: CMS/G1 GC: add missing Resource and Handle mark
...
Add Resource/HandleMark in the work() method of some AbstractGangTask to reclaim these resources earlier.
Reviewed-by: tschatzl, goetz
2014-07-29 10:26:09 +02:00
Filipp Zhinkin
e8d1955b5e
8051344: JVM crashed in Compile::start() during method parsing w/ UseRTMDeopt turned on
...
Call rtm_deopt() only if there were no compilation bailouts before.
Reviewed-by: kvn
2014-07-28 15:06:38 -07:00
Dmitry Samersoff
037f9fdccf
8049046: Deprecated Function in hotspot/src/os/solaris/vm/attachListener_solaris.cpp
...
Replace door_cred with door_ucred call
Reviewed-by: dholmes, sspitsyn
2014-07-28 07:31:17 -07:00
Jon Masamitsu
7774fe7ed1
Merge
2014-07-24 15:06:36 -07:00
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
Thomas Schatzl
f161bd6d16
8027959: Early reclamation of large objects in G1
...
Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness.
Reviewed-by: brutisso, mgerdin
2014-07-23 09:03:32 +02: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
Alexander Smundak
f8d5d704ae
8050942: PPC64: implement template interpreter for ppc64le
...
Reviewed-by: kvn, goetz
2014-07-17 15:40:04 -07:00
Albert Noll
0f4091ddaf
Merge
2014-07-25 10:57:57 +00:00
Albert Noll
e4e0c214ff
Merge
2014-07-25 10:04:36 +00:00
Albert Noll
cf7a398eea
Merge
2014-07-25 09:44:53 +00:00
Tobias Hartmann
11eb4553c9
8040213: C2 does not put all modified nodes on IGVN worklist
...
Verification code is added that checks if modified nodes are put on the IGVN worklist and modified nodes are processed by 'PhaseIterGVN::transform_old()'
Reviewed-by: kvn, jrose
2014-07-25 10:06:17 +02:00
Zoltan Majo
1d44fa46f0
8050860: Cleanup TypeTuple and TypeFunc
...
Declared fields TypeFunc::_domain, TypeFunc::_range, TypeTuple::_cnt and TypeTuple::_fields private, changed direct accesses to fields to use accessor methods.
Reviewed-by: kvn, vlivanov
2014-07-24 09:15:38 +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