5497 Commits

Author SHA1 Message Date
Vladimir Kozlov
b9e949183d 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM.

Reviewed-by: roland
2014-09-02 12:48:45 -07:00
Vladimir Kozlov
8b93fb04cd 8056964: JDK-8055286 changes are incomplete
Added ccstr and ccstrlist types to compilerOracle 'option' command

Reviewed-by: roland
2014-09-02 10:26:48 -07:00
David Chase
4c9f643e10 8054292: code comments leak in fastdebug builds
Added deallocation to destructor; hardened interface against misuse

Reviewed-by: kvn
2014-08-29 19:45:49 -04:00
Tobias Hartmann
3eb44b3955 Merge 2014-08-29 13:46:50 +00:00
Zoltan Majo
fbab0fe16e 8055286: Extend CompileCommand=option to handle numeric parameters
Changed CompileCommand=option to handle "extended" parameters: Klass::method,type,flag,value. Types supported are bool, intx, and uintx.

Reviewed-by: kvn, roland
2014-08-29 15:32:16 +02:00
Tobias Hartmann
79be04020a 8056067: NodeHash debug variables are available in product build
Make NodeHash debug variables only available in debug/optimized build.

Reviewed-by: kvn, roland
2014-08-29 14:46:35 +02:00
Serguei Spitsyn
7b1571089e Merge 2014-08-01 19:03:26 -07:00
Jon Masamitsu
5f2c33e42b 8031323: Optionally align objects copied to survivor spaces
Reviewed-by: brutisso, tschatzl
2014-08-01 15:40:12 -07:00
Jon Masamitsu
e9553ff4bf Merge 2014-07-31 16:39:57 -07:00
Thomas Schatzl
a959c0971e 8051973: Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap
Eager reclaim also needs to clear marks of eagerly reclaimed regions if they have already been marked during concurrent mark.

Reviewed-by: jmasa
2014-07-31 09:23:24 +02:00
Tobias Hartmann
e3073f2e53 8053915: bigapps assert failure in C2: modified node is not on IGVN._worklist
Add modified node to the IGVN worklist in 'PhaseIdealLoop::do_range_check'.

Reviewed-by: kvn, roland
2014-07-31 08:39:47 +02:00
Tobias Hartmann
efc7daaf82 8054081: Crashes with assert "modified node is not on IGVN._worklist"
Modified safepoint nodes are not added to the IGVN worklist by 'PhaseMacroExpand::scalar_replacement()'

Reviewed-by: kvn, roland
2014-08-05 08:25:10 +02:00
Roland Westrelin
2588547f41 Merge 2014-08-01 15:57:00 -07:00
Roland Westrelin
e546e2a060 8054054: 8040121 is broken
C++ code pattern from 8040121 is incorrect

Reviewed-by: kvn
2014-07-31 19:59:36 +02:00
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