Commit Graph

1859 Commits

Author SHA1 Message Date
Vladimir Kozlov
7069bb6a72 8209574: [AOT] breakpoint events are generated in different threads does not meet expected count
Disable AOT when debugger is attached.

Reviewed-by: dlong
2018-09-17 13:43:22 -07:00
Gustavo Romero
a6d0d07957 8209972: [GRAAL] Don't run RTM tests with Graal
Reviewed-by: kvn, goetz
2018-09-14 15:32:22 -04:00
Dmitrij Pochepko
8eb4ba001c 8210461: AArch64: Math.cos intrinsic gives incorrect results
Reviewed-by: aph
2018-09-14 14:24:00 +03:00
Tobias Hartmann
8e0e188abd 8210387: C2 compilation fails with "assert(node->_last_del == _last) failed: must have deleted the edge just produced"
Refresh iterator and start from the beginning while there is progress when removing dead regions.

Reviewed-by: kvn
2018-09-12 09:23:36 +02:00
Doug Simon
c131915d0a 8210066: [JVMCI] iterateFrames uses wrong GrowableArray API for appending
Reviewed-by: dlong, twisti
2018-08-31 11:43:06 +02:00
Mikael Vidstedt
f5e624c0b3 8209856: Obsolete error reporter
Reviewed-by: coleenp, stuefe
2018-08-29 13:04:50 -07:00
Jesper Wilhelmsson
d40735db17 Merge 2018-08-29 19:48:28 +02:00
Dean Long
347b95d500 8209825: guarantee(false) failed: wrong number of expression stack elements during deopt
Reviewed-by: kvn, thartmann
2018-08-24 11:56:14 -07:00
Ge Guo
538ba1fb5c 8207838: AArch64: Float registers incorrectly restored in JNI call
Fix the order in which float registers are restored in restore_args for aarch64

Reviewed-by: aph
2018-08-21 13:44:59 +01:00
Roland Westrelin
423c207dc7 8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item
Reviewed-by: neliasso, kvn
2018-08-17 17:13:12 +02:00
Staffan Larsen
b806cb371e 8031761: [TESTBUG] Add a regression test for JDK-8026328
Reviewed-by: kvn, iignatyev
2018-08-07 13:51:30 -07:00
David Buck
0919d6d626 8204966: [TESTBUG] hotspot/test/compiler/whitebox/IsMethodCompilableTest.java test fails with -XX:CompileThreshold=1
Enforce lower bound on number of loop iterations used to trigger OSR

Reviewed-by: kvn, iignatyev
2018-08-06 22:30:37 -04:00
Tobias Hartmann
6dac70d919 8207355: C1 compilation hangs in ComputeLinearScanOrder::compute_dominator
Bail out from recursive computation if the block was already processed.

Reviewed-by: kvn, iveresov
2018-08-06 09:09:57 +02:00
Igor Ignatyev
b863c0efab 8199081: [Testbug] compiler/linkage/LinkageErrors.java fails if run twice
Reviewed-by: kvn, vlivanov
2018-08-03 15:39:28 -07:00
Ekaterina Pavlova
daa3f2ce32 8206241: compiler/graalunit/PhasesCommonTest.java fails with java.lang.Error: TESTBUG: no tests found for prefix org.graalvm.compiler.phases.common.test
Reviewed-by: kvn
2018-07-20 11:39:52 -07:00
Igor Ignatyev
d38a0c13fd 8207915: [AOT] jaotc w/ '--ignore-errors' should ignore illegal class files
Reviewed-by: kvn
2018-07-20 11:39:37 -07:00
Tobias Hartmann
a494a819eb 8209833: C2 compilation fails with "assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place"
Deoptimize if exception is thrown in _clone intrinsic.

Reviewed-by: kvn
2018-08-24 08:17:23 +02:00
Tobias Hartmann
73bcb0507e 8208275: C2 crash in Node::add_req(Node*)
Split-if optimization should not process (dead) counted loops.

Reviewed-by: roland
2018-08-17 08:21:20 +02:00
Doug Simon
e39c7c3c93 8209535: [JVMCI] Do not swallow NoClassDefFoundError when converting JVMCI methods and fields to reflection objects
Reviewed-by: kvn, iveresov
2018-08-16 09:46:09 +02:00
Joshua Zhu
f87ec5faf7 8209459: TestSHA512MultiBlockIntrinsics failed on AArch64
Prevent classloading to avoid generation of SHA stubs.

Reviewed-by: kvn, thartmann
2018-08-15 14:35:33 +02:00
Vladimir Kozlov
4729c903c6 8207153: Some intrinsic tests take long time to run
Reviewed-by: thartmann, mikael
2018-08-13 13:24:55 -07:00
Mikael Vidstedt
83a51d869e Merge 2018-08-09 10:08:07 -07:00
Xin Liu
e5f3e1b60c 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
2018-08-08 18:38:34 -07:00
Staffan Larsen
3be8d256e9 8031761: [TESTBUG] Add a regression test for JDK-8026328
Reviewed-by: kvn, iignatyev
2018-08-07 13:51:30 -07:00
Vladimir Kozlov
77204ca163 8209023: fix 2 compiler tests to avoid JDK-8208690
Reviewed-by: dholmes, dcubed
2018-08-06 18:49:51 -07:00
Ekaterina Pavlova
080d3bb21a 8194958: [Graal] disable compiler/c2/cr7200264 tests
Reviewed-by: kvn, tschatzl
2018-08-06 13:53:49 -07:00
Daniel D. Daugherty
2ce4abbcc8 8208706: compiler/tiered/ConstantGettersTransitionsTest.java fails to compile
Reviewed-by: dholmes
2018-08-02 22:14:54 -04:00
Igor Ignatyev
17891770c1 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
Ekaterina Pavlova
addc5a823f 8207761: Split compiler/graalunit/JttReflectFTest.java
Reviewed-by: kvn
2018-07-18 14:44:04 -07:00
Gustavo Romero
d3201f3e40 8205578: jtreg: Fix failing TestRTMAbortRatio on PPC64
Reviewed-by: iignatyev, kvn
2018-06-24 17:11:17 -04:00
Gustavo Romero
8d3616ba4e 8205390: jtreg: Fix failing TestRTMSpinLoopCount on PPC64
Reviewed-by: kvn, iignatyev
2018-06-23 18:02:46 -04:00
Ekaterina Pavlova
5df013d4e6 8207380: compiler/graalunit/JttLangMTest.java timeout
Reviewed-by: kvn
2018-07-18 13:24:25 -07:00
Aleksei Voitylov
2d0aee2275 8207065: Cleanup compiler tests for Client VM
Reviewed-by: kvn, iignatyev
2018-07-13 11:13:34 -07:00
Roland Westrelin
6dc1ccac6b 8200282: Serializing non-zero byte as zero to ByteBuffer
Arraycopy converted as a series of loads/stores uses wrong slice for loads

Reviewed-by: kvn, thartmann
2018-07-13 15:44:54 +02:00
Vladimir Kozlov
dbb21a2a92 8206953: compiler/profiling/TestTypeProfiling.java fails when JVMCI build disabled
Restore original behavior when C2 is used

Reviewed-by: thartmann, mdoerr, dnsimon, gdub
2018-07-12 11:57:06 -07:00
Roland Westrelin
8c2d9b5ff0 8202123: C2 Crash in Node::in(unsigned int) const+0x14
Reviewed-by: kvn, thartmann
2018-06-29 17:59:44 +02:00
Igor Ignatyev
cb2d33f02c 8206287: fix legal notice in hotspot tests
Reviewed-by: kvn, hseigel
2018-07-09 11:15:55 -07:00
Andrew Dinn
d5c20788ae 8206163: AArch64: incorrect code generation for StoreCM
StoreCM may require planting a StoreStore barrier

Reviewed-by: aph, zyao, roland
2018-07-09 09:38:11 +01:00
Roland Westrelin
7d7184e505 8205515: assert(opcode == Op_RangeCheck) failed: no other if variant here
Reviewed-by: thartmann, kvn
2018-07-02 10:44:46 +02:00
Igor Ignatyev
6c7c6c7190 8206117: failed to get JDK properties for JVM w/o JVMCI
Reviewed-by: kvn
2018-06-29 13:43:35 -07:00
Ekaterina Pavlova
992c9ee022 8205207: Port Graal unit tests under jtreg
Reviewed-by: kvn, erikj, iignatyev
2018-06-28 17:07:34 -07:00
Andrew Dinn
c61ba730c1 8205694: AArch64: Add test to validate volatile load, store and CAS code generation
Implement tests to check volatile operations are translated to valid code

Reviewed-by: aph, kvn, dpochepk
2018-06-28 10:09:58 +00:00
Smita Kamath
3feaefd75f 8205528: Base64 encoding algorithm using AVX512 instructions
Reviewed-by: kvn, psandoz
2018-06-27 20:21:42 -07:00
Tom Rodriguez
6fc0ec871a 8205824: Update Graal
Reviewed-by: iveresov, kvn
2018-06-27 17:02:41 -07:00
Vladimir Kozlov
f4ae3d5325 8205400: [Graal] compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java fails with can't be enqueued for compilation on level 4
Add -XX:-BackgroundCompilation to tests to eager initialize JVMCI

Reviewed-by: thartmann
2018-06-26 09:14:49 -07:00
Goetz Lindenmaier
991f2f8c0b 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
Reviewed-by: jgeorge, cjplummer
2018-06-25 23:04:21 +02:00
Weijun Wang
60ff77bd97 8201815: Use Mozilla Public Suffix List
Reviewed-by: michaelm, erikj, ihse
2018-06-26 18:55:48 +08:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Igor Ignatyev
6eeaab54a4 8155192: [TESTBUG] SHA tests assumes that x86 does not have SHA intrinsics
Reviewed-by: kvn, gromero
2018-06-22 16:11:36 -07:00
Igor Ignatyev
0c8ab995b9 8185927: create regression test for 8062950
Reviewed-by: kvn
2018-06-21 15:14:36 -07:00
Alan Bateman
91d9f3fbe0 8194937: Inconsistent behavior of --validate-modules when combined with -m and other options
Reviewed-by: mchung
2018-06-21 18:56:35 +01:00
Gustavo Romero
f02e0d4779 8204135: jtreg: Fix failing RTM test TestUseRTMXendForLockBusy
Reviewed-by: goetz, iignatyev
2018-06-20 22:02:46 +02:00
Dmitry Chuyko
d571ea407c 8198719: MethodHandleHelper.linkToStatic should drop MH arg
Reviewed-by: vlivanov, dlong
2018-06-19 18:18:46 +03:00
Tobias Hartmann
d2f70d7052 8205033: [REDO] Induction variable of over-unrolled loop conflicts with range checks
Update skeleton predicates before main loop during unrolling to remove dead code.

Reviewed-by: kvn, roland
2018-06-19 12:25:42 +02:00
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07:00
Vladimir Kozlov
3ced42361d 8202948: C2: assert(init_offset >= 0) failed: positive offset from object start
Convert the assert into compilation check which will skip superword optimization

Reviewed-by: roland, thartmann
2018-06-15 08:28:08 -07:00
Tobias Hartmann
d01224d43e 8205034: [BACKOUT] Induction variable of over-unrolled loop conflicts with range checks
Backout fix for JDK-8203915 because it causes SIGILL failures.

Reviewed-by: shade
2018-06-14 11:22:04 +02:00
Tobias Hartmann
c9c8cc68de 8203915: Induction variable of over-unrolled loop conflicts with range checks
Update skeleton predicates before main loop during unrolling to remove dead code.

Reviewed-by: kvn, roland
2018-06-14 09:04:55 +02:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Vladimir Kozlov
312328b44c 8204113: Upgrade linker used in AOT tests to be same version as build toolchain
Reviewed-by: erikj, iignatyev
2018-06-12 07:52:30 -07:00
Roland Westrelin
ff2c589b63 8202747: C2: assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: neliasso, kvn
2018-06-11 14:16:43 +02:00
Aleksey Shipilev
bb1c912d9e 8204479: Bitwise AND on byte value sometimes produces wrong result
Reviewed-by: kvn, thartmann
2018-06-08 11:41:43 +02:00
Vladimir Ivanov
ddc42415c0 8203480: IncompatibleClassChangeError thrown at sites linked to default interface methods
Reviewed-by: kvn
2018-06-06 23:36:08 +03:00
Stefan Karlsson
ad35b3d424 8204168: Increase small heap sizes in tests to accommodate ZGC
Reviewed-by: pliden, ehelin
2018-06-05 15:56:21 +02:00
Stefan Karlsson
8c5db24c99 8204165: Filter out tests requiring class unloading when ClassUnloading is disabled
Reviewed-by: coleenp, kbarrett
2018-06-05 15:56:14 +02:00
Goetz Lindenmaier
e208c81a27 8204277: [testbug] fix DisassembleCodeBlobTest
Reviewed-by: thartmann
2018-06-04 12:29:48 +02:00
Gustavo Romero
5fc4466414 8204134: jtreg: Fix RTM abort provoker for various tests after "8149159: Clean up Unsafe"
Reviewed-by: kvn, iignatyev
2018-06-03 14:21:56 -07:00
Gustavo Romero
e465926089 8204136: jtreg: Fix failing RTM test RTMSpinLoopCount
Reviewed-by: iignatyev, goetz
2018-06-03 09:19:48 +02:00
Gustavo Romero
c4b890cac0 8203669: PPC64: Fix jtreg RTM tests after "8203305: Improve TM detection for enabling RTM on Linux / POWER9"
Reviewed-by: mdoerr, goetz
2018-05-21 13:23:55 -04:00
Dean Long
92b31787a2 8203370: [JVMCI] UseJVMCICompiler should imply EnableJVMCI
Reviewed-by: kvn
2018-05-29 12:06:05 -07:00
Tobias Hartmann
2d00538d92 8202949: C2: assert(false) failed: Bad graph detected in build_loop_late
Fixed trip count computation for counted loop with negative stride to prevent over-unrolling.

Reviewed-by: roland
2018-05-25 09:05:42 +02:00
Roland Westrelin
76bb390810 8202950: C2: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: neliasso, kvn
2018-05-24 09:59:57 +02:00
Nils Eliasson
ac9f93a147 8192992: Test8007294.java failed: attempted to spill a non-spillable item
Fix bugs in schedule_late that forces load to early

Reviewed-by: kvn, thartmann
2018-03-21 16:03:12 +01:00
Boris Ulasevich
069d6f992b 8203431: TestFloatsOnStackDeopt.java throws java.lang.LinkageError: loader <bootstrap> attempted duplicate class definition for java.lang.invoke.BoundMethodHandle$Species_LLL
Reviewed-by: redestad
2018-05-22 14:54:55 +02:00
Boris Ulasevich
2029f17855 8202710: AARCH64: sporadic jtreg test fail
Reviewed-by: aph, dsamersoff
2018-05-18 13:23:28 +03:00
Ekaterina Pavlova
fdaaae3622 8203318: compiler/stable/TestStableShort.java is broken
Reviewed-by: shade
2018-05-17 21:04:53 -07:00
Claes Redestad
7101b28dc3 8202711: Merge tiered compilation policies
Reviewed-by: neliasso, kvn
2018-05-09 09:39:25 +02:00
Jiangli Zhou
20edc74068 8193213: Make the UseAppCDS option obsolete
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile

Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag.

Reviewed-by: dholmes, ihse, erikj, ccheung
2018-04-30 16:59:05 -04:00
Roland Westrelin
0ef11c31c7 8201367: assert(current != first_mem) failed: corrupted memory graph in superword code
Don't rely on the RPO order to find the "first" and "last" loads of the pack

Reviewed-by: kvn
2018-04-26 12:48:35 -07:00
Roland Westrelin
15a89eeee4 8201368: IfNode::fold_compares() may lead to incorrect execution
Reviewed-by: neliasso, kvn
2018-04-10 17:07:21 +02:00
Vladimir Kozlov
4a2ed13802 8201850: [AOT] vm crash when run test compiler/aot/fingerprint/SelfChangedCDS.java
Set AOT specific compressed oop shift value before CDS archive load

Reviewed-by: iklam, jiangli
2018-04-20 14:30:57 -07:00
Jesper Wilhelmsson
82847e4ec0 Merge 2018-04-06 03:53:28 +02:00
Vladimir Kozlov
6bdeaad21a 8200461: MeetIncompatibleInterfaceArrays test fails with -Xcomp
Add requires to run test only in Xmixed mode.

Reviewed-by: simonis
2018-03-30 07:47:20 -07:00
Volker Simonis
e8c15436ea 8200360: MeetIncompatibleInterfaceArrays fails with "MeetIncompatibleInterfaceArrays0ASM.run() must be compiled at tier 0 !"
Reviewed-by: kvn, thartmann
2018-03-29 14:50:25 +02:00
Volker Simonis
fe3badf59a 8198915: [Graal] 3rd testcase of compiler/types/TestMeetIncompatibleInterfaceArrays.java takes more than 10 mins
Reviewed-by: kvn, thartmann
2018-03-28 11:27:35 +02:00
Tobias Hartmann
32668d954e 8200227: [Graal] Test times out with Graal due to low compile threshold
Removed unnecessary VM options from test to avoid timeouts with Graal.

Reviewed-by: kvn
2018-03-27 11:13:11 +02:00
Jesper Wilhelmsson
aa69f8c75c Merge 2018-03-24 01:08:35 +01:00
Jan Lahoda
d2e4f879b1 8200135: test/hotspot/jtreg/compiler/jvmci/compilerToVM/GetExceptionTableTest.java is failing after JDK-8194978
Adjusting the expected number of exception table entries to the recent changes in javac.

Reviewed-by: kvn
2018-03-28 10:24:26 +02:00
Roland Westrelin
98db6d11f3 8193130: Bad graph when unrolled loop bounds conflicts with range checks
Reviewed-by: kvn, thartmann
2018-03-22 20:21:19 -07:00
Vladimir Kozlov
6b886727ca 8199212: [TESTBUG] don't run compiler/aot tests with -Xcomp
8199489: [TESTBUG] don't run CTW tests with -Xcomp

Reviewed-by: iignatyev, iveresov
2018-03-22 16:39:02 -07:00
Tobias Hartmann
55233a42f3 8199777: Deprecate -XX:+AggressiveOpts
Deprecate -XX:+AggressiveOpts and remove it from testing.

Reviewed-by: kvn, dholmes, shade
2018-03-22 08:39:51 +01:00
Roland Westrelin
35460b0e85 8196294: LoopStripMiningIterShortLoop is set to zero by default
Reviewed-by: shade, thartmann, kvn
2018-03-21 10:05:36 +01:00
Jesper Wilhelmsson
7ffa43700f Merge 2018-03-24 01:08:35 +01:00
Tobias Hartmann
eda7916ce8 8199624: [Graal] Blocking jvmci compilations time out
Handle blocking jvmci compilations that time out.

Reviewed-by: kvn, dnsimon
2018-03-21 08:18:54 +01:00
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
Lutz Schmidt
f5d589fe63 8198608: Improvements to command-line flags printing
Re-implemented Flag::print_on()

Reviewed-by: dholmes, mikael, gziemski
2018-03-19 13:37:57 -05:00
Erik Joelsson
1926d24306 8199352: The Jib artifact resolver in test lib needs to print better error messages
Reviewed-by: iignatyev, ihse
2018-03-09 19:20:19 +01:00
Vladimir Kozlov
d0ec59a9fb 8195632: [Graal] Introduce EagerJVMCI flag to force eager JVMCI initialization
Reviewed-by: thartmann
2018-03-01 09:03:30 -08:00
Tobias Hartmann
23c15b8f4c 8148871: Possible wrong expression stack depth at deopt point
Add a special case for invoke bytecodes and use the parameter size instead of the oop map in that case.

Reviewed-by: never, dlong, minqi
2018-03-01 08:58:27 +01:00
Vladimir Kozlov
4b482389bf 8198251: [Graal] compiler/intrinsics/bmi/verifycode tests fail with Graal on macos
BMI tests should be excluded from Graal JIT testing for now.

Reviewed-by: thartmann
2018-02-23 10:14:23 -08:00
Razvan Lupusoru
343cf9910d 8199421: Add support for vector popcount
Reviewed-by: kvn
2018-03-13 10:22:15 -07:00
Vladimir Kozlov
944905f00c 8198591: compiler/aot/fingerprint tests should be moved to open
Reviewed-by: thartmann
2018-03-09 09:46:49 -08:00
Gilles Duboscq
597c6ac736 8194490: [JVMCI] Move iterateFrames to C++
Reviewed-by: kvn, never, dnsimon
2018-03-07 19:32:54 -08:00
Tobias Hartmann
fd90a313a7 8198987: [Graal] compiler/intrinsics/sha/sanity tests fail on macos with Graal as JIT
Use the isIntrinsicAvailable WhiteBox API method to check if an intrinsic is available.

Reviewed-by: kvn
2018-03-06 10:30:24 +01:00
Igor Ignatyev
c61f11a3ab 8199050: reenable concurrent execution of compiler tests
Reviewed-by: kvn
2018-03-05 13:10:31 -08:00
Tobias Hartmann
f6f71565b7 8198826: -XX:+VerifyStack fails with fatal error: ExceptionMark constructor expects no pending exceptions
Save and restore pending exception while executing stack verification code at deoptimization.

Reviewed-by: kvn, dholmes
2018-03-02 11:06:51 +01:00
Roland Westrelin
4f8c5b6949 8197563: assert(is_Loop()) crash in PhaseIdealLoop::try_move_store_before_loop()
Don't move store out of the loop if head is not a LoopNode.

Reviewed-by: kvn, thartmann
2018-02-13 16:57:01 +01:00
Vladimir Kozlov
ba9f9457dd 8196726: compiler/inlining/InlineAccessors.java test failed
Reviewed-by: thartmann
2018-02-06 09:35:05 -08:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Tobias Hartmann
38e8a07f05 8196608: [Graal] compiler/uncommontrap/TestUnstableIfTrap.java fails in Graal JIT mode
Exclude test from Graal testing.

Reviewed-by: kvn, epavlova
2018-02-05 07:14:24 +01:00
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Roland Westrelin
d244b3ccd1 8196296: Lucene test crashes C2 compilation
Prevent merging of back to back ifs if one is a counted loop end.

Reviewed-by: kvn, thartmann
2018-01-30 09:08:44 +01:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Roland Westrelin
2067aa56eb 8193597: sun/nio/cs/TestStringCoding.java fails intermittently with getBytes(csn) failed -> GBK
Should not change loop limit check of outer loop.

Reviewed-by: thartmann
2018-01-15 09:19:53 +01:00
Roland Westrelin
bf92da2c82 8194914: Compilation fails with "node not on backedge" in OuterStripMinedLoopNode::adjust_strip_mined_loop
Modified assert which is too strong.

Reviewed-by: thartmann
2018-01-15 09:17:25 +01:00
Jesper Wilhelmsson
fb8bca78ee Merge 2018-01-05 22:02:20 +01:00
Igor Veresov
98601408f0 8194271: jaotc crashes with --debug flag
Reviewed-by: kvn, thartmann
2018-01-04 14:44:38 -08:00
Ramkumar Sunderbabu
674a4ce25b 8193607: Test failure with java.lang.ClassNotFoundException: compiler.tiered.LevelTransitionTest
Added compiler.tiered.LevelTransitionTest to @build

Reviewed-by: thartmann
2018-01-10 02:31:25 -08:00
Rickard Bäckman
9ba6ab25e4 8191915: JCK tests produce incorrect results with C2
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Nils Eliasson
16d95cbf9d 8192971: LockCompilationTest fails intermittently
Remove all unnecessary compilations

Reviewed-by: kvn, thartmann
2017-12-13 10:21:21 +01:00
Tobias Hartmann
8ab2ee6ab1 8193363: TestDumpReplay.java fails with product builds
Added missing -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: kvn
2017-12-12 19:05:02 +01:00
Roland Westrelin
29bab311ab 8192908: -XX:+UseCountedLoopSafepoints alone doesn't disable strip mining with G1
-XX:+UseCountedLoopSafepoints should disable loop strip mining.

Reviewed-by: kvn, thartmann
2017-12-07 15:52:46 +01:00
Doug Simon
77eb30dae3 8193930: [JVMCI] calling ResolvedTypeType.getClassInitializer on an array type crashes
Reviewed-by: never, dlong
2017-12-22 18:34:36 +01:00
Boris Ulasevich
f4b397b4ba 8189439: Parameters type profiling is not performed from aarch64 interpreter
Reviewed-by: vlivanov
2017-12-01 18:24:52 +03:00
Dmitry Chuyko
d24ef2f18f 8191129: AARCH64: Invalid value passed to critical JNI function
Reviewed-by: vlivanov
2017-12-01 18:20:00 +03:00
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Rickard Bäckman
6f1c27a2c9 8191915: JCK tests produce incorrect results with C2
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Igor Ignatyev
a400b9417f 8195729: compiler.aot.AotCompiler should be run as a driver
Reviewed-by: kvn, mseledtsov
2018-01-18 16:57:54 -08:00
Igor Ignatyev
fff718badb 8195724: compiler.calls.common.InvokeDynamicPatcher can be run as driver
Reviewed-by: kvn
2018-01-18 16:57:51 -08:00
Igor Ignatyev
71a40bce38 8186635: ClassFileInstaller should be run as a driver
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00
Roland Westrelin
eb10d407d3 8191887: assert(b->is_Bool()) in PhaseIdealLoop::clone_iff() due to Opaque4 node
Add special handling for graph shape If->Opaque4->Bool->CmpP

Reviewed-by: kvn
2017-11-27 16:05:11 -08:00
Roland Westrelin
1c25161036 8191153: assert(u_ctrl != blk1 && u_ctrl != blk2) failed: won't converge
Relax assert

Reviewed-by: kvn
2017-11-27 10:44:19 -08:00
Rahul Raghavan
fa19052aa4 8191313: compiler/runtime/SpreadNullArg.java fails in tier1
Corrected SpreadNullArg.java test to expect NullPointerException after 8157246 fix

Reviewed-by: dcubed, mchung
2017-11-26 09:05:13 -08:00
Dean Long
fb89c1729c 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
Reviewed-by: vlivanov, dpochepk
2017-11-21 09:04:42 -08:00
Nils Eliasson
fc7955d5fc 8160548: Inconsistent inlining behavior with CompileOnly
Can_be_compiled should not affect inlining

Reviewed-by: thartmann
2017-11-20 09:50:27 +01:00
Nils Eliasson
c5e0971547 8065838: compiler/relocations/TestPrintRelocations.java times out after 1920 seconds
Compile fewer methods

Reviewed-by: thartmann, kvn
2017-11-20 09:50:23 +01:00
Roland Westrelin
002aff0a75 8190375: Java Crash in JavaBug.formatPos(I)Ljava/lang/String
Skip the logic that set the value of the Phi iv if the exit condition is "not equal"

Reviewed-by: thartmann, mdoerr
2017-11-13 14:53:28 -05:00
Tobias Hartmann
b0c9129d6c 8190797: OSR compilation fails with "assert(__the_thread__->can_call_java()) failed: can not load classes with compiler thread"
Bail out with a meaningful error message in case we cannot throw a Java exception.

Reviewed-by: kvn, dholmes
2017-11-10 13:10:54 +01:00
Roland Westrelin
85d2a057a4 8186125: "DU iteration must converge quickly" assert in split if with unsafe accesses
Added missing checks for Opaque4Node in split-if code

Reviewed-by: kvn
2017-11-09 12:43:13 -08:00
Doug Simon
67b21ffa1d 8186478: [JVMCI] rename HotSpotResolvedJavaMethod#setNotInlineableOrCompileable
Reviewed-by: kvn, thartmann
2017-11-06 12:17:59 +01:00
Jamsheed Mohammed C M
34deb9cc2a 8167409: Invalid value passed to critical JNI function
The tmp  reg used to break the shuffling cycle (handled in ComputeMoveOrder) is set to 64 bit.

Reviewed-by: dlong
2017-11-06 04:14:22 -08:00
Jamsheed Mohammed C M
ef98509665 8167408: Invalid critical JNI function lookup
Made correction to arg_size calculation in NativeLookup::lookup_critical_entry

Reviewed-by: dholmes, dlong, mdoerr, vlivanov
2017-11-06 00:30:36 -08:00
Tobias Hartmann
832d68597e 8190351: InitialAndMaxUsageTest does not free allocated blob
Refactored test to add blob to free list and changed the allocation loop to start with blobs of size ~36 Mb.

Reviewed-by: kvn
2017-10-31 09:33:47 +01:00
Roland Westrelin
3a205924e4 8188151: "assert(entry_for(catch_pco, handler_bcis->at(i), scope_depth)->pco() == handler_pcos->at(i))" failure with C1
Reviewed-by: kvn, dlong
2017-10-10 14:05:04 +02:00
Jamsheed Mohammed C M
dc50d0a8b2 8168712: [AOT] assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_base: last_sp != NULL
Skip the assert for this specific case, as it is not an issue.

Reviewed-by: coleenp, dlong, kvn
2017-10-24 06:06:56 -07:00
Roman Kennke
7030019135 8171853: Remove Shark compiler
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02:00
Dean Long
e7270b8965 8132547: [AOT] support invokedynamic instructions
Reviewed-by: iveresov, kvn
2017-10-19 19:23:48 -07:00
Igor Veresov
65ed45cd3d 8189409: [AOT] Fix paths in aot test scripts
Reviewed-by: kvn, gtriantafill
2017-10-17 13:52:52 -07:00
Tobias Hartmann
34622112b6 8189067: SuperWord optimization crashes with "assert(out == prev || prev == __null) failed: no branches off of store slice"
Only move the store if the LCA of all users is outside of the loop. Re-enable UseSubwordForMaxVector.

Reviewed-by: kvn, roland
2017-10-13 14:02:01 +02:00
Roland Westrelin
844e594fec 8187822: C2 conditonal move optimization might create broken graph
Reviewed-by: kvn
2017-09-27 16:17:47 +02:00
Coleen Phillimore
cc04ffc7b3 Merge 2017-10-03 21:21:35 +00:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Ekaterina Pavlova
853f26ed15 8185134: [Graal] Introduce vm.graal predicate and tag tests which are not applicable for Graal
Reviewed-by: kvn, dnsimon
2017-10-02 14:31:34 -07:00
Martin Doerr
d0dc2dd231 8185979: PPC64: Implement SHA2 intrinsic
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Igor Ignatyev
9f006db9f8 8187020: AOT tests should not fail if devkit dependency isn't resolved
Reviewed-by: kvn
2017-09-01 15:28:54 -07:00
Tobias Hartmann
e840fdf694 8187780: VM crashes while generating replay compilation file
Fixed two problems with generation of replay file.

Reviewed-by: kvn
2017-09-28 11:02:55 +02:00
Calvin Cheung
7a446900da 8187884: [TESTBUG] compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading failed with ClassNotFoundException
Reviewed-by: kvn
2017-09-25 14:23:18 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00