Tobias Hartmann
8b9a829836
8048879: "unexpected yanked node" opto/postaloc.cpp:139
...
MemBarAcquireNode prevents deletion of dead LoadNNode. Added condition to 'has_special_unique_user' to trigger deletion.
Reviewed-by: kvn, iveresov
2014-08-19 07:36:11 +02:00
Vladimir Kozlov
b86cece468
Merge
2014-08-15 12:27:50 -07:00
Jon Masamitsu
5a22518210
Merge
2014-08-14 18:42:08 +00:00
Tobias Hartmann
d50dfdb399
8054402: "klass->is_loader_alive(_is_alive)) failed: must be alive" for anonymous classes
...
Because anonymous classes are not in the system dictionary, we have to set 'unloading_occurred' based on 'CLDG::do_unloading()'. Added jtreg test.
Reviewed-by: kvn, coleenp
2014-08-14 09:15:39 +02:00
Igor Veresov
8ed4cb5a02
8054883: Segmentation error while running program
...
Fix pattern matching of range check
Reviewed-by: kvn
2014-08-13 17:37:11 -07:00
Daniel D. Daugherty
8937a201e0
Merge
2014-08-13 13:29:45 -07:00
Vladimir Kozlov
ed5be50e9e
8054927: Missing MemNode::acquire ordering in some volatile Load nodes
...
Fixed memory ordering parameter and added missing barriers for volatile loads.
Reviewed-by: roland, iveresov
2014-08-13 13:05:04 -07:00
Roland Westrelin
2a78aba488
Merge
2014-08-13 09:53:18 +00:00
Zoltan Majo
abd8ce7135
8043913: remove legacy code in SPARC's VM_Version::platform_features
...
Kept only getisax(2) to determine platform features
Reviewed-by: kvn, roland
2014-08-13 10:44:50 +02:00
Harold Seigel
1436d4b821
8050485: super() in a try block in a ctor causes VerifyError
...
Parse catch clause paths to ensure they end in throws
Reviewed-by: dlong, acorn, kamg, ctornqvi, lfoltan
2014-08-12 20:29:25 -04:00
Coleen Phillimore
cafb36661d
8003426: Remove UseFastAccessors and UseFastEmptyMethods except for zero
...
These options have been long disabled in Xmixed mode because they prevent these small methods from being inlined and are subject to bit rot, and we don't need more macro assembler code to maintain and change if the constant pool cache format changes.
Reviewed-by: simonis, kvn
2014-08-12 10:48:55 -04:00
Zhengyu Gu
8a690a1250
6424123: JVM crashes on failed 'strdup' call
...
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose
Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Zhengyu Gu
d595244c27
Merge
2014-08-11 07:20:39 -07:00
Roland Westrelin
fa334043fe
8054224: Recursive method that was compiled by C1 is unable to catch StackOverflowError
...
Do not update exception cache if exception is replaced when thrown
Reviewed-by: kvn, iveresov
2014-08-11 15:09:04 +02:00
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
Stefan Karlsson
2880629908
8054823: Add size_t as a valid VM flag type
...
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +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
Jon Masamitsu
d4ca2cc557
Merge
2014-08-08 16:24:16 -07: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
Zhengyu Gu
f0cf82f571
8046598: Scalable Native memory tracking development
...
Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -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
Jon Masamitsu
e57b1279b2
8034056: assert(_heap_alignment >= _space_alignment) failed: heap_alignment less than space_alignment
...
Reviewed-by: tschatzl, sjohanss
2014-08-05 15:41:12 -07:00
Thomas Schatzl
94d0494b27
8054341: Remove some obsolete code in G1CollectedHeap class
...
Remove dead code.
Reviewed-by: stefank, brutisso
2014-08-07 22:28:53 +02:00
Thomas Schatzl
24bee82e67
8052170: G1 asserts at collection exit with -XX:-G1DeferredRSUpdate
...
Do not try to verify timing measures for the redirty logged cards phase when it is not executed.
Reviewed-by: brutisso, jmasa
2014-08-07 22:28: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
Jon Masamitsu
47e31eaa7a
Merge
2014-08-03 03:48:24 +00: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
Tobias Hartmann
1213845b36
8029443: 'assert(klass->is_loader_alive(_is_alive)) failed: must be alive' during VM_CollectForMetadataAllocation
...
Added missing metadata relocation to 'loadConP_no_oop_cheap' on Sparc if the pointer is referring to a Klass. Added jtreg test.
Reviewed-by: kvn, roland
2014-08-06 08:47:40 +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
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