1075 Commits

Author SHA1 Message Date
Aleksey Shipilev
9c2548414c 8286339: compiler/c2/irTests/TestEnumFinalFold.java fails if Enum/String methods are not inlined
Reviewed-by: thartmann, jiefu
2022-05-11 05:29:11 +00:00
Pengfei Li
1ca540460c 8286125: C2: "bad AD file" with PopulateIndex on x86_64
Reviewed-by: kvn, thartmann
2022-05-10 13:37:03 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Vladimir Ivanov
5212535a27 8282218: C1: Missing side effects of dynamic class loading during constant linkage
Reviewed-by: thartmann, kvn
2022-05-06 23:09:23 +00:00
Dean Long
bb52ea6820 8286263: compiler/c1/TestPinnedIntrinsics.java failed with "RuntimeException: testCurrentTimeMillis failed with -3"
Reviewed-by: thartmann, kvn
2022-05-06 19:47:48 +00:00
Aleksey Shipilev
080f3c5d8a 8286190: Add test to verify constant folding for Enum fields
Reviewed-by: kvn, thartmann
2022-05-06 16:32:02 +00:00
Roland Westrelin
fa1ca98fff 8281429: PhiNode::Value() is too conservative for tripcount of CountedLoop
Reviewed-by: thartmann, kvn
2022-05-06 08:24:33 +00:00
Tobias Holenstein
dd06cc638e 8283807: Handle CompileThreshold the same as other thresholds when scaled with -XX:CompileThresholdScaling
Reviewed-by: kvn, iklam, thartmann
2022-05-06 07:08:19 +00:00
Emanuel Peter
4a5e7a1ada 8282555: Missing memory edge when spilling MoveF2I, MoveD2L etc
Reviewed-by: kvn, thartmann, jbhateja
2022-05-05 08:15:53 +00:00
Xin Liu
c5a0687f80 8285976: compiler/exceptions/OptimizeImplicitExceptions.java can't pass with -XX:+DeoptimizeALot
Reviewed-by: kvn, thartmann, simonis
2022-05-04 17:59:39 +00:00
Roberto Castañeda Lozano
6fcd322258 8279622: C2: miscompilation of map pattern as a vector reduction
Reviewed-by: roland, kvn, thartmann
2022-05-03 11:08:48 +00:00
Jie Fu
3420a1aa70 8286013: Incorrect test configurations for compiler/stable/TestStableShort.java
Reviewed-by: shade, thartmann
2022-05-02 22:41:59 +00:00
Jie Fu
1f9f8738f3 8285980: Several tests in compiler/c2/irTests miss @requires vm.compiler2.enabled
Reviewed-by: thartmann
2022-05-02 10:38:31 +00:00
Fei Gao
df7fba1cda 8284981: Support the vectorization of some counting-down loops in SLP
Reviewed-by: roland, kvn
2022-04-30 07:39:16 +00:00
Dean Long
cd8709e8e0 8284883: JVM crash: guarantee(sect->end() <= sect->limit()) failed: sanity on AVX512
Reviewed-by: kvn, jbhateja
2022-04-29 19:09:58 +00:00
Roland Westrelin
e98ac23553 8285793: C2: optimization of mask checks in counted loops fail in the presence of cast nodes
Reviewed-by: kvn, thartmann
2022-04-29 11:19:27 +00:00
Jatin Bhateja
e4066628ad 8282711: Accelerate Math.signum function for AVX and AVX512 target.
Reviewed-by: sviswanathan, thartmann
2022-04-29 06:34:09 +00:00
Tobias Hartmann
0a4a6403bb 8285301: C2: assert(!requires_atomic_access) failed: can't ensure atomicity
Reviewed-by: kvn, dlong
2022-04-29 06:12:43 +00:00
Aleksey Shipilev
5629c7555f 8284848: C2: Compiler blackhole arguments should be treated as globally escaping
Reviewed-by: kvn, thartmann
2022-04-28 08:32:44 +00:00
Andrew Haley
a7b5157375 8282541: AArch64: Auto-vectorize Math.round API
Reviewed-by: njian, ngasson, adinn
2022-04-26 13:43:12 +00:00
Tobias Hartmann
8de3c65545 8284951: Compile::flatten_alias_type asserts with "indeterminate pointers come only from unsafe ops"
Reviewed-by: kvn, roland
2022-04-26 12:05:24 +00:00
Dean Long
947869609c 8283441: C2: segmentation fault in ciMethodBlocks::make_block_at(int)
Reviewed-by: kvn, thartmann
2022-04-26 07:25:47 +00:00
Roland Westrelin
32593df392 8279888: Local variable independently used by multiple loops can interfere with loop optimizations
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: thartmann, kvn
2022-04-25 09:30:00 +00:00
Roland Westrelin
dc6358444b 8273115: CountedLoopEndNode::stride_con crash in debug build with -XX:+TraceLoopOpts
Reviewed-by: kvn, thartmann
2022-04-25 08:32:50 +00:00
Aleksey Shipilev
ce8db2c403 8285394: Compiler blackholes can be eliminated due to stale ciMethod::intrinsic_id()
Reviewed-by: kvn, dlong
2022-04-22 17:11:34 +00:00
Doug Simon
8543aaa7eb 8283839: [JVMCI] add support for querying indy bootstrap method target and arguments
Reviewed-by: psandoz, kvn
2022-04-20 20:25:00 +00:00
Quan Anh Mai
b4a85cdae1 8284742: x86: Handle integral division overflow during parsing
Reviewed-by: kvn, mdoerr
2022-04-20 16:17:01 +00:00
Boris Ulasevich
21de4e55b8 8284681: compiler/c2/aarch64/TestFarJump.java fails with "RuntimeException: for CodeHeap < 250MB the far jump is expected to be encoded with a single branch instruction"
Reviewed-by: kvn
2022-04-16 05:57:00 +00:00
Doug Simon
1ebf2f0d37 8284909: [JVMCI] remove remnants of AOT support
Reviewed-by: kvn
2022-04-15 17:30:00 +00:00
Andrey Turbanov
48c7549806 8284853: Fix various 'expected' typo
Reviewed-by: bpb, ihse
2022-04-14 18:05:49 +00:00
Zhiqiang Zang
c7755b815d 8283094: Add Ideal transformation: x + (con - y) -> (x - y) + con
Reviewed-by: kvn, thartmann
2022-04-13 16:01:10 +00:00
Eric Liu
c35590282d 8282528: AArch64: Incorrect replicate2L_zero rule
Reviewed-by: aph
2022-04-13 04:21:43 +00:00
Wu Yan
0c04bf8e59 8284198: Undo JDK-8261137: Optimization of Box nodes in uncommon_trap
Reviewed-by: kvn, thartmann
2022-04-11 06:23:09 +00:00
vamsi-parasa
37e28aea27 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: sviswanathan, kvn, jbhateja
2022-04-10 03:47:18 +00:00
Fei Gao
e572a525f5 8280511: AArch64: Combine shift and negate to a single instruction
Reviewed-by: njian, ngasson
2022-04-08 01:25:13 +00:00
Boris Ulasevich
e524107a74 8280872: Reorder code cache segments to improve code density
Reviewed-by: simonis, kvn
2022-04-06 09:32:12 +00:00
Tobias Hartmann
955d61df30 8284369: TestFailedAllocationBadGraph fails with -XX:TieredStopAtLevel < 4
Reviewed-by: chagedorn
2022-04-06 06:51:02 +00:00
Pengfei Li
741be46138 8183390: Fix and re-enable post loop vectorization
Reviewed-by: roland, thartmann, kvn
2022-04-05 23:50:13 +00:00
Jatin Bhateja
003ec21f3c 8279508: Auto-vectorize Math.round API
Reviewed-by: sviswanathan, aph
2022-04-02 18:00:33 +00:00
Xiaohong Gong
05ea7a51e1 8282431: AArch64: Add optimized rules for masked vector multiply-add/sub for SVE
Reviewed-by: njian, ngasson
2022-04-01 09:33:46 +00:00
Sergey Bylokhov
ad83ec7e28 8283422: Create a new test for JDK-8254790
Reviewed-by: kvn, thartmann
2022-03-31 18:17:38 +00:00
Fei Yang
835c7e8d6d 8283907: Fix Huawei copyright in various files
Reviewed-by: mli
2022-03-31 00:46:44 +00:00
Ningsheng Jian
51c05e8219 8282764: AArch64: compiler/vectorapi/reshape/TestVectorCastNeon.java failed with incorrect result
Reviewed-by: psandoz, ngasson, eliu
2022-03-30 09:47:20 +00:00
Tobias Hartmann
2367228835 8283834: Unmappable character for US-ASCII encoding in TestPredicateInputBelowLoopPredicate
Reviewed-by: chagedorn
2022-03-29 07:21:23 +00:00
Roland Westrelin
14c20bc0e0 8283187: C2: loop candidate for superword not always unrolled fully if superword fails
Reviewed-by: thartmann, chagedorn
2022-03-24 12:53:44 +00:00
Fei Yang
5905b02c0e 8276799: Implementation of JEP 422: Linux/RISC-V Port
Co-authored-by: Yadong Wang <yadonn.wang@huawei.com>
Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com>
Co-authored-by: Feilong Jiang <jiangfeilong@huawei.com>
Co-authored-by: Kun Wang <wangkun49@huawei.com>
Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Co-authored-by: Taiping Guo <guotaiping1@huawei.com>
Co-authored-by: Kang He <hekang6@huawei.com>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Xiaolin Zheng <yunyao.zxl@alibaba-inc.com>
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, dholmes, rriggs, kvn, shade
2022-03-24 09:22:46 +00:00
Pengfei Li
a6740c010b 8283408: Fix a C2 crash when filling arrays with unsafe
Reviewed-by: roland, thartmann
2022-03-24 01:50:04 +00:00
Jie Fu
026b85303c 8283298: Make CodeCacheSegmentSize a product flag
Reviewed-by: dlong, kvn
2022-03-23 08:48:17 +00:00
Emanuel Peter
d29c7e740d 8282590: C2: assert(addp->is_AddP() && addp->outcnt() > 0) failed: Don't process dead nodes
Reviewed-by: thartmann, chagedorn
2022-03-22 16:23:23 +00:00
Roland Westrelin
fabde3b7b8 8283451: C2: assert(_base == Long) failed: Not a Long
Reviewed-by: thartmann, chagedorn
2022-03-22 14:06:49 +00:00