Tobias Hartmann
7c05f32bc9
8244924: Additional fix for JDK-8241119
...
Reviewed-by: kvn, vlivanov, rhalade, ahgross
2020-10-20 14:58:38 -07:00
Tobias Hartmann
afd852ccb8
8241114: Better range handling
...
Reviewed-by: kvn, vlivanov, rhalade, ahgross
2020-10-20 14:58:37 -07:00
Richard Reingruber
40f847e2fb
8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
...
8233915: JVMTI FollowReferences: Java Heap Leak not found because of C2 Scalar Replacement
Reviewed-by: mdoerr, goetz, sspitsyn, kvn
2020-10-20 15:31:55 +00:00
Roland Westrelin
294e0705fa
8254998: C2: assert(!n->as_Loop()->is_transformed_long_loop()) failure with -XX:StressLongCountedLoop=1
...
Reviewed-by: vlivanov, kvn, thartmann
2020-10-20 11:53:41 +00:00
Claes Redestad
3f9c8a3920
8254966: Remove unused code from Matcher
...
Reviewed-by: neliasso, kvn
2020-10-20 09:27:35 +00:00
Nhat Nguyen
5fedfa707e
8251271: C2: Compile::_for_igvn list is corrupted after RenumberLiveNodes
...
Reviewed-by: vlivanov, thartmann
2020-10-20 06:18:49 +00:00
Roland Westrelin
e76de18956
8223051: support loops with long (64b) trip counts
...
Reviewed-by: vlivanov, thartmann, jrose
2020-10-19 11:30:13 +00:00
Tobias Hartmann
7c0d417027
8251535: Partial peeling at unsigned test adds incorrect loop exit check
...
Reviewed-by: chagedorn, neliasso, kvn
2020-10-16 06:25:33 +00:00
Xin Liu
bdda2058c2
8254369: Node::disconnect_inputs may skip precedences
...
disconnect_inputs() needs to iterate precedences edges in reverse order because rm_prec(i) may backfill _in[i] with a value afterward.
also remove the predicate if (n != NULL) in set_prec because it's always true.
Reviewed-by: kvn, redestad
2020-10-16 01:59:07 +00:00
Roland Westrelin
f44fc6defc
8254734: "dead loop detected" assert failure with patch from 8223051
...
Reviewed-by: chagedorn, kvn
2020-10-15 06:53:03 +00:00
Vladimir Kozlov
5194f11bc7
8254792: Disable intrinsic StringLatin1.indexOf until 8254790 is fixed
...
Reviewed-by: dcubed
2020-10-15 00:05:40 +00:00
Paul Sandoz
0c99b19258
8223347: Integration of Vector API (Incubator)
...
Co-authored-by: Vivek Deshpande <vdeshpande@openjdk.org>
Co-authored-by: Qi Feng <qfeng@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Jean-Philippe Halimi <jphalimi@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Co-authored-by: Razvan Lupusoru <rlupusoru@openjdk.org>
Co-authored-by: Smita Kamath <svkamath@openjdk.org>
Co-authored-by: Rahul Kandu <rkandu@openjdk.org>
Co-authored-by: Kishor Kharbas <kkharbas@openjdk.org>
Co-authored-by: Eric Liu <Eric.Liu2@arm.com>
Co-authored-by: Aaloan Miftah <someusername3@gmail.com>
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Shravya Rukmannagari <srukmannagar@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Lauren Walkowski <lauren.walkowski@arm.com>
Co-authored-by: Yang Zang <Yang.Zhang@arm.com>
Co-authored-by: Joshua Zhu <jzhu@openjdk.org>
Co-authored-by: Wang Zhuo <wzhuo@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: erikj, chegar, kvn, darcy, forax, briangoetz, aph, epavlova, coleenp
2020-10-14 20:02:46 +00:00
Jason Tatton (AWS)
f71e8a6198
8173585: Intrinsify StringLatin1.indexOf(char)
...
Reviewed-by: neliasso
2020-10-14 12:58:21 +00:00
Roberto Castañeda Lozano
9fe9b24b88
8254575: C2: Clean up unused TRACK_PHI_INPUTS assertion code
...
Remove assertion code that was disabled in all build configurations.
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, kvn
2020-10-14 08:06:59 +00:00
Ioi Lam
a098037375
8254365: ciMethod.hpp should not include methodHandles.hpp
...
Reviewed-by: dholmes, coleenp
2020-10-14 04:59:52 +00:00
Xin Liu
bff586f07a
8254269: simplify Node::disconnect_inputs
...
Node::disconnect_inputs cuts off all input edges without exception.
Reviewed-by: redestad, kvn
2020-10-12 19:54:25 +00:00
Roberto Castañeda Lozano
05459df0c7
8253765: C2: Control randomization in StressLCM and StressGCM
...
Use the compilation-local seed in 'StressLCM' and 'StressGCM' rather than the
global one. As a consequence, these options use by default a fresh seed in every
compilation, unless 'StressSeed=N' is specified, in which case they behave
deterministically. Annotate tests that use 'StressLCM' and 'StressGCM' with the
'stress' and 'randomness' keys to reflect this change in default behavior.
Reviewed-by: kvn, thartmann
2020-10-12 11:40:50 +00:00
Roland Westrelin
a6c23b7753
8253923: C2 doesn't always run loop opts for compilations that include loops
...
Reviewed-by: neliasso, thartmann
2020-10-12 10:55:22 +00:00
Christian Hagedorn
54bbe76ed0
8251544: CTW: C2 fails with assert(no_dead_loop) failed: dead loop detected
...
Reviewed-by: kvn, roland
2020-10-12 08:18:13 +00:00
Erik Österlund
b9873e1833
8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing
...
Reviewed-by: stefank, pliden, rehn, neliasso, coleenp, smonteith
2020-10-09 08:40:33 +00:00
Roberto Castañeda Lozano
a191c586dc
8253404: C2: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded limit
...
Record nodes as dead in Node::destruct() if their index cannot be directly
reclaimed. This prevents the "Live Node limit exceeded limit" assertion failure
by improving the accuracy of Compile::live_nodes() when "hook" nodes in
ConvI2LNode::Ideal() are created and deleted non-consecutively.
This addition might result in multiple calls to compile::record_dead_node() for
the same node (e.g. from PhaseIdealLoop::spinup()), but this is safe, as
compile::record_dead_node() is idempotent.
Reviewed-by: neliasso, thartmann
2020-10-08 12:30:38 +00:00
Coleen Phillimore
6bc493188b
8253717: Relocate stack overflow code out of thread.hpp/cpp
...
Reviewed-by: rehn, dcubed, dholmes, stuefe
2020-10-08 11:24:27 +00:00
Roland Westrelin
f86037207c
8253566: clazz.isAssignableFrom will return false for interface implementors
...
Reviewed-by: kvn, thartmann, neliasso
2020-10-08 09:33:42 +00:00
Roland Westrelin
76a5852776
8253756: C2 CompilerThread0 crash in Node::add_req(Node*)
...
Reviewed-by: vlivanov, thartmann
2020-10-08 08:39:40 +00:00
Xin Liu
ea5a2b15a0
8251464: make Node::dump(int depth) support indent
...
Reviewed-by: thartmann
2020-10-02 13:45:29 +00:00
Roberto Castañeda Lozano
5dd9353b83
8253636: C2: Adjust NodeClasses::_max_classes
...
Update NodeClasses::_max_classes to the max class id within the
enumeration. Update comment and assertion to reflect that NodeClasses uses now
32 bits after the addition of Opaque1 in JDK-8229495.
Reviewed-by: neliasso, kvn
2020-10-01 06:39:25 +00:00
Roberto Castaneda Lozano
fed3636f12
8252219: C2: Randomize IGVN worklist for stress testing
...
Add 'StressIGVN' option to let C2 randomize IGVN worklist order. When enabled,
the worklist is shuffled before each main run of the IGVN loop. Also add
'StressSeed=N' option to specify the seed. If the seed is not specified, a
random one is generated. In either case, the seed is logged if 'LogCompilation'
is enabled. The new options are declared as production+diagnostic for
consistency with the existing 'StressLCM' and 'StressGCM' options.
Reviewed-by: kvn, chagedorn, thartmann
2020-09-28 06:44:58 +00:00
Roberto Castaneda Lozano
dcde95ba0d
8253586: C2: Clean up unused PhaseIterGVN::init_worklist()
...
Remove unused method PhaseIterGVN::init_worklist(Node *).
Reviewed-by: thartmann, chagedorn, neliasso
2020-09-25 06:53:48 +00:00
Roland Westrelin
b1e2f026d9
8253524: C2: Refactor code that clones predicates during loop unswitching
...
Reviewed-by: chagedorn, kvn, thartmann
2020-09-24 10:00:33 +00:00
Roberto Castaneda Lozano
f3ea0d362f
8252583: Clean up unused phi-to-copy degradation mechanism
...
Remove unused notion of 'PhiNode-to-copy degradation', where PhiNodes can be
degraded to copies by setting their RegionNode to NULL. Remove corresponding
PhiNode::is_copy() test, which always returned NULL (false). Assert that
PhiNodes have an associated RegionNode in PhiNode::Ideal().
Reviewed-by: thartmann, kvn
2020-09-24 08:10:56 +00:00
Roland Westrelin
3fe5886baf
8252696: Loop unswitching may cause out of bound array load to be executed
...
Reviewed-by: neliasso, chagedorn
2020-09-23 07:34:56 +00:00
Xin Liu
426c9049ce
8253392: remove PhaseCCP_DCE declaration
...
remove the deprecated declaration PhaseCCP_DCE
Reviewed-by: neliasso, phh
2020-09-22 20:24:05 +00:00
Vladimir Kozlov
1438ce097f
8252188: Crash in OrINode::Ideal(PhaseGVN*, bool)+0x8b9
...
Reviewed-by: vlivanov, thartmann, jbhateja
2020-09-19 16:06:35 +00:00
Ioi Lam
0a1dc50f54
8253271: vm_version_x86.hpp should not include globals_extension.hpp
...
Reviewed-by: dholmes
2020-09-17 21:32:22 +00:00
Cesar
fbf4699d23
8253040: Remove unused Matcher::regnum_to_fpu_offset()
...
Reviewed-by: adityam, vlivanov
2020-09-16 06:41:37 +00:00
Aleksey Shipilev
7c564e13ee
8253146: C2: Purge unused MachCallNode::_arg_size field
...
Reviewed-by: thartmann, adityam
2020-09-16 06:38:53 +00:00
Cesar
2caa20a76d
8250668: Clean up method_oop names in adlc
...
Reviewed-by: coleenp, adityam, thartmann
2020-09-16 05:54:16 +00:00
Jorn Vernee
d219d8b987
8253002: Remove the unused SafePointNode::_oop_map field
...
Reviewed-by: thartmann
2020-09-15 12:21:45 +00:00
Roberto Castaneda Lozano
040c8f58e5
8250914: Matcher::stack_direction() is unused
...
Remove unused Matcher::stack_direction() together with related ADL entries and
ADLC support.
Reviewed-by: vlivanov, thartmann
2020-09-11 11:57:46 +00:00
Roberto Castaneda Lozano
9687dcabb6
8252494: C2: TypeAryPtr::cast_to_autobox_cache does not use ptr_type
...
Remove dead definition of ptr_type in TypeAryPtr::cast_to_autobox_cache. Also remove
unnecessary cache parameter (always true) for simplicity.
Reviewed-by: shade, vlivanov, thartmann
2020-09-11 11:55:30 +00:00
Ioi Lam
5144190ea0
8243208: Clean up JVMFlag implementation
...
Reviewed-by: dholmes, coleenp, gziemski
2020-09-11 04:05:18 +00:00
Goetz Lindenmaier
7ccf435825
8252846: Fix ppc/s390 after "8231441: AArch64: Initial SVE backend su…
...
Reviewed-by: shade
2020-09-10 09:16:23 +00:00
Tobias Hartmann
f78f780570
8252889: Obsolete -XX:+InsertMemBarAfterArraycopy
...
Reviewed-by: shade, adityam
2020-09-10 05:41:51 +00:00
Ningsheng Jian
9b5a9b6189
8231441: AArch64: Initial SVE backend support
...
Co-authored-by: Joshua Zhu <joshua.zhu@arm.com>
Co-authored-by: Yang Zhang <yang.zhang@arm.com>
Reviewed-by: adinn, pli, ihse, vlivanov, eosterlund
2020-09-02 09:45:44 +08:00
Dmitry Chuyko
35ea00085f
8251525: AARCH64: Faster Math.signum(fp)
...
Reviewed-by: aph, vlivanov, adinn
2020-09-03 14:54:43 +03:00
Christian Hagedorn
8d30bb03ee
8249607: C2: assert(!had_error) failed: bad dominance
...
Fix prevented igvn optimization in SplitIf for LoadNodes which resulted in dominanance errors with loop strip mining.
Reviewed-by: roland, kvn
2020-08-31 12:10:25 +02:00
Roland Westrelin
c663323043
8252292: 8240795 may cause anti-dependence to be missed
...
Reviewed-by: thartmann, kvn
2020-08-24 11:29:40 +02:00
Roland Westrelin
6a85e1454d
8241486: G1/Z give warning when using LoopStripMiningIter and turn off LoopStripMiningIter (0)
...
Reviewed-by: thartmann, kvn
2020-08-21 17:41:57 +02:00
Roland Westrelin
84d2c2678a
8252296: Shenandoah: crash in CallNode::extract_projections
...
Reviewed-by: chagedorn
2020-08-25 14:25:53 +02:00
Aleksey Shipilev
124db3be8e
8252215: Remove VerifyOptoOopOffsets flag
...
Reviewed-by: thartmann, kvn
2020-08-27 06:34:27 +02:00