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
Aleksey Shipilev
0483ff56a0
8252362: C2: Remove no-op checking for callee-saved-floats
...
Reviewed-by: vlivanov
2020-08-27 06:34:24 +02:00
Aleksey Shipilev
25af8d8f69
8252291: C2: Assignment in conditional in loopUnswitch.cpp
...
Reviewed-by: thartmann
2020-08-26 09:29:46 +02:00
Aleksey Shipilev
27b5007ad5
8252290: Remove unused enum in CallGenerator
...
Reviewed-by: thartmann, rrich
2020-08-26 09:29:37 +02:00
Roland Westrelin
fcd005c417
8251527: CTW: C2 (Shenandoah) compilation fails with SEGV due to unhandled catchproj == NULL
...
Reviewed-by: chagedorn, kvn
2020-08-19 10:56:08 +02:00
Claes Redestad
ae912be86f
8251459: Compute caller save exclusion RegMasks once
...
Reviewed-by: kvn, vlivanov
2020-08-18 15:34:28 -07:00
Christian Hagedorn
552a73301c
8248791: sun/util/resources/cldr/TimeZoneNamesTest.java fails with -XX:-ReduceInitialCardMarks -XX:-ReduceBulkZeroing
...
Fix wrong replacement of loads by zero for non-completed InitializationNodes belonging to a clone when ReduceBulkZeroing is disabled.
Reviewed-by: kvn, thartmann
2020-08-14 10:30:51 +02:00
Tobias Hartmann
191e1e6075
8251458: Parse::do_lookupswitch fails with "assert(_cnt >= 0) failed"
...
Limit the counter value to max_jint.
Reviewed-by: kvn, vlivanov, chagedorn
2020-08-13 16:01:45 +02:00
Clive Verghese
832d896443
8251268: Move PhaseChaitin definitions from live.cpp to chaitin.cpp
...
Move PhaseChaitin verify_base_ptrs() and verify() from live.cpp to chaitin.cpp
Reviewed-by: chagedorn, kvn
2020-08-11 15:32:55 -07:00
Xiaohong Gong
23ed3a9e91
8250808: Re-associate loop invariants with other associative operations
...
Reviewed-by: kvn, thartmann
2020-08-11 06:00:43 +00:00
Vladimir Kozlov
092389e3c9
8249749: modify a primitive array through a stream and a for cycle causes jre crash
...
Check align_to_ref for NULL early and bailout SuperWord optimization.
Reviewed-by: vlivanov, thartmann
2020-08-10 15:31:01 -07:00
Charlie Gracie
7332181372
8251303: C2: remove unused _site_invoke_ratio and related code from InlineTree
...
Reviewed-by: vlivanov, thartmann
2020-08-10 12:12:40 +03:00
Tobias Hartmann
970e251a54
8249608: Vector register used by C2 compiled method corrupted at safepoint
...
Always update 'max_vlen_in_bytes'.
Reviewed-by: kvn, vlivanov, chagedorn
2020-08-10 08:21:14 +02:00
Jatin Bhateja
3ed56830b4
8248830: C2: Optimize Rotate API on x86
...
Improved existing scalar rotate operations, added support for vector rotate operations using new AVX512 instructions.
Reviewed-by: vlivanov, kvn
2020-08-09 02:03:09 +05:30
Coleen Phillimore
0c9e0c2e7f
8244997: Convert the JavaThread::_threadObj oop to use OopStorage
...
Move the oop and handle releasing it in the service thread. Remove Universe::oops_do from callers.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: dholmes, zgu, eosterlund, cjplummer
2020-08-07 07:53:26 -04:00