Roland Westrelin
dc1afd4abe
Merge
2014-08-11 13:02:44 +00:00
Roland Westrelin
a56ade07c7
7173584: Implement arraycopy as a macro node
...
Delay the conversion of arraycopy to stub calls to macro expansion
Reviewed-by: kvn, iveresov
2014-08-11 14:12:51 +02:00
Tobias Hartmann
a67aa1e3df
8043284: Optimize signed integer comparison
...
Folding of BoolNode if input add/sub of CmpI overflows and we can prove that compared value is not in the two resulting ranges. Added test for CmpI and CmpU optimizations.
Reviewed-by: kvn, rbackman, roland
2014-08-11 13:01:37 +02:00
Vladimir Kozlov
648272884a
Merge
2014-08-08 10:35:05 -07:00
Jon Masamitsu
1cf05b831f
Merge
2014-08-08 07:38:34 -07:00
Jon Masamitsu
30d4217ecd
Merge
2014-08-07 20:17:37 -07:00
Morris Meyer
a6397cd368
8040920: Uninitialised memory in hotspot/src/share/vm/code/dependencies.cpp
...
Fixed parfait initialization issue.
Reviewed-by: kvn, twisti
2014-08-07 18:09:12 -07:00
Marcus Larsson
ae0190f121
8051837: Remove temporary G1UseParallelRSetUpdating and G1UseParallelRSetScanning flags
...
Reviewed-by: stefank, tschatzl
2014-08-07 09:35:08 +02:00
Stefan Karlsson
ef47f5dc0e
8048269: Add flag to turn off class unloading after G1 concurrent mark
...
Added -XX:+/-ClassUnloadingWithConcurrentMark
Reviewed-by: jmasa, brutisso, mgerdin
2014-08-06 09:55:16 +02:00
Harold Seigel
1c5ed7ab4c
8046233: VerifyError on backward branch
...
Remove check that causes the VerifyError
Reviewed-by: dholmes, coleenp, acorn
2014-08-05 09:11:35 -04:00
Harold Seigel
f588cd1325
8051012: Regression in verifier for <init> method call from inside of a branch
...
Fix stackmap matching for branches.
Reviewed-by: coleenp, lfoltan, acorn
2014-08-02 16:28:59 -04:00
Roland Westrelin
355f6eb4ae
8046698: assert(false) failed: only Initialize or AddP expected macro.cpp:943
...
PhiNode inserted between AllocateNode and Initialization node confuses allocation elimination
Reviewed-by: kvn
2014-08-02 07:06:08 +02:00
Vladimir Kozlov
7764490363
8052081: Optimize generated by C2 code for Intel's Atom processor
...
Allow to execute vectorization and crc32 optimization on Atom. Enable UseFPUForSpilling by default on x86.
Reviewed-by: roland
2014-08-05 15:02:10 -07:00
Morris Meyer
97512f58ec
8040921: Uninitialised memory in hotspot/src/share/vm/c1/c1_LinearScan.cpp
...
Fixed parfait initialization issue.
Reviewed-by: kvn, twisti
2014-08-05 08:19:03 -07:00
Tobias Hartmann
70a55eac34
8054033: Remove unused references to Compile*
...
Removed unused references to Compile* missed by JDK-8034812.
Reviewed-by: kvn, roland
2014-08-05 09:58:52 +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
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
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
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
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
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
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