Commit Graph

176 Commits

Author SHA1 Message Date
Emanuel Peter
46bcc4901e 8302147: Speed up compiler/jvmci/compilerToVM/IterateFramesNative.java
Reviewed-by: kvn, thartmann
2023-02-15 07:36:53 +00:00
Doug Simon
06394ee8b1 8300590: [JVMCI] BytecodeFrame.equals is broken
Reviewed-by: adinn, dlong
2023-01-21 11:31:44 +00:00
Xiaolin Zheng
da75de3184 8299172: RISC-V: [TESTBUG] Fix stack alignment logic in jvmci RISCV64TestAssembler.java
Reviewed-by: fyang
2022-12-23 11:54:00 +00:00
Doug Simon
8b69a2e434 8298099: [JVMCI] decouple libgraal from JVMCI module at runtime
Reviewed-by: never
2022-12-07 22:11:11 +00:00
Severin Gehwolf
08e6a820bc 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run
Reviewed-by: chagedorn, dnsimon
2022-11-25 16:29:53 +00:00
Doug Simon
95c390ec75 8296956: [JVMCI] HotSpotResolvedJavaFieldImpl.getIndex returns wrong value
Reviewed-by: thartmann, never
2022-11-16 21:21:04 +00:00
Doug Simon
37848a9ca2 8296967: [JVMCI] rationalize relationship between getCodeSize and getCode in ResolvedJavaMethod
Reviewed-by: never
2022-11-16 20:27:19 +00:00
Doug Simon
4ce4f384d7 8296958: [JVMCI] add API for retrieving ConstantValue attributes
Reviewed-by: never
2022-11-16 19:56:14 +00:00
Olga Mikhaltsova
277f0c24a2 8296821: compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java fails after JDK-8262901
Reviewed-by: kvn, thartmann
2022-11-14 08:40:11 +00:00
Olga Mikhaltsova
6b456f7a9b 8262901: [macos_aarch64] NativeCallTest expected:<-3.8194101E18> but was:<3.02668882E10>
Reviewed-by: aph
2022-11-10 21:06:15 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Doug Simon
03e63a2b87 8295225: [JVMCI] codeStart should be cleared when entryPoint is cleared
Reviewed-by: never
2022-10-13 08:34:36 +00:00
Sacha Coppey
7a194d31a3 8290154: [JVMCI] partially implement JVMCI for RISC-V
Reviewed-by: ihse, dnsimon, yadongwang
2022-10-07 13:09:09 +00:00
Doug Simon
b8b9b97a1a 8294676: [JVMCI] InstalledCode.deoptimize(false) should not touch address field
Reviewed-by: never
2022-10-01 11:20:46 +00:00
Doug Simon
b0e0b87891 8292917: [JVMCI] Extend InstalledCode API to make an nmethod non entrant.
Reviewed-by: never
2022-08-27 08:21:58 +00:00
Doug Simon
259ba86c60 8290075: [JVMCI] only blessed methods can link against EventWriterFactory.getEventWriter
Reviewed-by: mgronlun
2022-08-23 07:24:53 +00:00
Coleen Phillimore
0c37008917 8275662: remove test/lib/sun/hotspot
Reviewed-by: mseledtsov, sspitsyn, lmesnik
2022-07-11 13:07:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Doug Simon
c45d613faa 8289687: [JVMCI] bug in HotSpotResolvedJavaMethodImpl.equals
Reviewed-by: kvn
2022-07-05 18:25:12 +00:00
Doug Simon
ba670ecbb9 8289094: [JVMCI] reduce JNI overhead and other VM rounds trips in JVMCI
Reviewed-by: kvn, dlong
2022-06-29 16:14:55 +00:00
Emanuel Peter
302a6c068d 8287801: Fix test-bugs related to stress flags
Reviewed-by: chagedorn, thartmann
2022-06-20 14:29:06 +00:00
Boris Ulasevich
68b2057205 8287373: remove unnecessary paddings in generated code
Reviewed-by: kvn
2022-06-15 09:10:48 +00:00
Yasumasa Suenaga
e3791ecfe4 8287491: compiler/jvmci/errors/TestInvalidDebugInfo.java fails new assert: assert((uint)t < T_CONFLICT + 1) failed: invalid type #
Reviewed-by: kvn, dnsimon
2022-06-01 14:41:23 +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
Doug Simon
1ebf2f0d37 8284909: [JVMCI] remove remnants of AOT support
Reviewed-by: kvn
2022-04-15 17:30:00 +00:00
Dean Long
34d4ffcea5 8279317: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java assumes immutable code
Reviewed-by: dnsimon, iveresov
2022-03-15 07:24:50 +00:00
Foivos Zakkak
0cbc4b85bf 8281266: [JVMCI] MetaUtil.toInternalName() doesn't handle hidden classes correctly
Reviewed-by: sgehwolf, dnsimon
2022-03-08 15:35:55 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Alan Hayward
6fab8a2d6a 8277204: Implement PAC-RET branch protection on Linux/AArch64
Reviewed-by: erikj, ihse, adinn, ngasson
2022-02-24 16:38:56 +00:00
Doug Simon
e14fb4f4aa 8279437: [JVMCI] exception in HotSpotJVMCIRuntime.translate can exit the VM
Reviewed-by: kvn
2022-01-08 21:47:54 +00:00
Yi Yang
2f0bde1a65 8277102: Dubious PrintCompilation output
Reviewed-by: thartmann, dnsimon
2021-11-19 02:04:48 +00:00
Doug Simon
2448b3f5f9 8275874: [JVMCI] only support aligned reads in c2v_readFieldValue
Reviewed-by: never, shade
2021-10-26 18:50:21 +00:00
Doug Simon
4dec8fc4cc 8275645: [JVMCI] avoid unaligned volatile reads on AArch64
Reviewed-by: kvn, never
2021-10-22 16:20:31 +00:00
Igor Veresov
83b2219220 8273612: Fix for JDK-8272873 causes timeout in running some tests with -Xcomp
Reviewed-by: kvn, neliasso
2021-10-05 19:44:17 +00:00
Jesper Wilhelmsson
c8add223a1 Merge
Reviewed-by: mikael
2021-08-03 01:01:25 +00:00
Igor Ignatyev
ada58d13f7 8067223: [TESTBUG] Rename Whitebox API package
Reviewed-by: dholmes, kvn
2021-08-02 20:44:18 +00:00
Andreas Woess
3aadae2077 8271140: Fix native frame handling in vframeStream::asJavaVFrame()
Reviewed-by: dnsimon, kvn, never
2021-07-26 19:47:34 +00:00
Igor Veresov
7468bbcd64 8266988: compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true
Reviewed-by: kvn
2021-07-23 22:18:51 +00:00
Andreas Woess
b1bb05bcf4 8269592: [JVMCI] Optimize c2v_iterateFrames
Reviewed-by: kvn, never, dlong
2021-07-14 17:32:55 +00:00
Severin Gehwolf
d32e42cdd4 8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas
Backport-of: 6a9bc10873
2021-07-13 14:34:35 +00:00
Severin Gehwolf
6a9bc10873 8270184: [TESTBUG] Add coverage for jvmci ResolvedJavaType.toJavaName() for lambdas
Reviewed-by: kvn
2021-07-12 08:25:22 +00:00
Dean Long
ab7ff1e137 8266885: [aarch64] Crash with 'Field too big for insn' for some tests under compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/
Reviewed-by: ngasson, dnsimon, kvn
2021-06-23 01:48:19 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Doug Simon
fdd0352884 8267338: [JVMCI] revive JVMCI API removed by JDK-8243287
Reviewed-by: mchung, hseigel
2021-05-19 13:59:46 +00:00
Vladimir Kozlov
2effdd1b67 8267112: JVMCI compiler modules should be kept upgradable
Reviewed-by: mchung, erikj, dnsimon
2021-05-17 20:11:01 +00:00
Harold Seigel
e14b026841 8243287: Removal of Unsafe::defineAnonymousClass
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Igor Ignatyev
69ad8ac537 8266169: mark hotspot compiler/jvmci tests which ignore VM flags
Reviewed-by: kvn
2021-04-28 03:41:27 +00:00
Tom Rodriguez
852a41d718 8258625: [JVMCI] refactor and unify JVMCI readFieldValue path
Reviewed-by: kvn
2021-04-26 20:00:23 +00:00
Doug Simon
7df0c10a4d 8265480: add basic JVMCI support for JEP 309: Dynamic Class-File Constants
Reviewed-by: kvn, psandoz
2021-04-22 15:59:12 +00:00
Vladimir Ivanov
b3782ead36 8264918: [JVMCI] getVtableIndexForInterfaceMethod doesn't check that type and method are related
Reviewed-by: kvn
2021-04-09 10:46:12 +00:00
Igor Ignatyev
a7aba2b61c 8263549: 8263412 can cause jtreg testlibrary split
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Doug Simon
d2b9c227e5 8262011: [JVMCI] allow printing to tty from unattached libgraal thread
Reviewed-by: kvn, never
2021-02-23 17:01:11 +00:00
Igor Veresov
1519632597 8251462: Simplify compilation policy
Reviewed-by: cjplummer, kvn
2021-01-28 20:51:12 +00:00
Nick Gasson
4169d96e24 8257143: Enable JVMCI code installation tests on AArch64
Reviewed-by: burban, kvn
2020-12-03 07:26:10 +00:00
Doug Simon
7e37c7c544 8257471: fatal error: Fatal exception in JVMCI: Exception during JVMCI compiler initialization
Reviewed-by: kvn, never
2020-12-02 10:14:46 +00:00
Doug Simon
c5d95071df 8257220: [JVMCI] option validation should not result in a heavy-weight VM crash
Reviewed-by: kvn
2020-11-29 16:52:14 +00:00
Vladimir Kozlov
2f7d34f205 8255616: Disable AOT and Graal in Oracle OpenJDK
Reviewed-by: iignatyev, vlivanov, iveresov, ihse
2020-11-02 16:04:46 +00:00
Doug Simon
f42c03226f 8254793: [JVMCI] improve speculation encoding
Reviewed-by: kvn, dlong, never
2020-10-19 19:06:23 +00:00
Igor Ignatyev
5a9bd41e79 8254102: use ProcessHandle::pid instead of ManagementFactory::getRuntimeMXBean to get pid in tests
Reviewed-by: rriggs, shade
2020-10-07 18:51:52 +00:00
Doug Simon
04ca660e81 8253874: [JVMCI] added test omitted in 8252881
Reviewed-by: shade
2020-10-07 09:14:43 +00:00
Alex Menkov
3320fc0f52 8253372: [TESTBUG] update tests which require jvmti - hotspot
Reviewed-by: sspitsyn, iklam
2020-09-23 21:11:31 +00:00
Igor Ignatyev
4a4003e900 8249678: @ignore should be used instead of ProblemList for 8158860, 8163894, 8193479, 8194310
Reviewed-by: kvn
2020-07-17 11:54:14 -07:00
Igor Ignatyev
24a7d8c766 8249622: use 8249621 to ignore 8 jvmci tests
Reviewed-by: kvn, epavlova
2020-07-16 20:03:10 -07:00
Jie Fu
507e54840f 8246805: Incorrect copyright header in TestInvalidTieredStopAtLevel.java
Reviewed-by: mikael, iignatyev
2020-07-16 10:30:39 +08:00
Tom Rodriguez
29936542ad 8247246: Add explicit ResolvedJavaType.link and expose presence of default methods
Reviewed-by: kvn
2020-06-24 10:42:26 -07:00
Xiaohong Gong
1adecc8e3a 8245717: VM option "-XX:EnableJVMCIProduct" could not be repetitively enabled
Reviewed-by: dholmes, kvn
2020-06-02 04:32:40 +00:00
Vaibhav Choudhary
c14590378a 8245179: JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally
Fixed to not to run the testcase with TieredStopAtLevel set

Reviewed-by: thartmann
2020-05-27 17:28:22 +05:30
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Stefan Karlsson
35af52dd4f 8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Igor Ignatyev
70e632d5ec 8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Igor Ignatyev
a740f83da3 8243930: update copyright years
Reviewed-by: dholmes
2020-04-27 17:58:27 -07:00
Igor Ignatyev
e0f46d0cb6 8243620: a few compiler/jvmci tests can be run in driver mode
Reviewed-by: thartmann
2020-04-27 09:16:39 -07:00
Coleen Phillimore
90ada6a314 8238048: Close alignment gaps in InstanceKlass
Moved fields around and some constant fields into ConstantPool

Reviewed-by: cjplummer, dlong, iklam
2020-04-23 16:29:22 -04:00
Mandy Chung
7cc1371059 8238358: Implementation of JEP 371: Hidden Classes
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Tom Rodriguez
12f8b52fb8 8231756: [JVMCI] need support for deoptimizing virtual byte arrays encoding non-byte primitives
Reviewed-by: kvn
2020-04-17 09:31:37 -07:00
Igor Ignatyev
7c351405c4 8242310: use reproducible random in hotspot compiler tests
Reviewed-by: kvn, thartmann
2020-04-08 22:58:42 -07:00
Jie Fu
dd63eec6e5 8241232: -XX:+BootstrapJVMCI is not compatible with TieredStopAtLevel < CompLevel_full_optimization
Reviewed-by: kvn, thartmann
2020-03-19 16:34:01 +08:00
Doug Simon
34b9ac2287 8236285: [JVMCI] improve TranslatedException traces
Reviewed-by: never, kvn
2020-03-18 13:11:09 -07:00
Doug Simon
f456f151cc 8240538: [JVMCI] add test for JVMCI ConstantPool class
Reviewed-by: kvn, iignatyev
2020-03-05 16:32:52 -08:00
Doug Simon
8119f836bf 8238758: [JVMCI] fix JVMCI jtreg events tests to work with GraalVM
Reviewed-by: kvn, dlong, never
2020-02-14 09:25:43 -08:00
David Leopoldseder
135f209852 8238190: [JVMCI] Fix single implementor speculation for diamond shapes
Reviewed-by: kvn
2020-02-04 09:33:09 +01:00
Tom Rodriguez
bca86d6492 8229961: Assert failure in compiler/graalunit/HotspotTest.java
Reviewed-by: kvn
2019-12-11 09:47:41 -08:00
Doug Simon
25b5ddc05d 8235539: [JVMCI] -XX:+EnableJVMCIProduct breaks -XX:-EnableJVMCI
Reviewed-by: kvn, thartmann
2019-12-10 09:34:33 -08:00
Tom Rodriguez
ddc8f8e757 8233888: jdk.vm.ci.hotspot.test.VirtualObjectLayoutTest.testFormat(): Unexpected error verifying
Reviewed-by: kvn, iignatyev
2019-11-14 16:34:24 -08:00
Igor Ignatyev
993947e6ce 8233745: [JVMCI] TranslatedException should serialize classloader and module info
Reviewed-by: kvn, dnsimon
2019-11-09 10:27:53 -08:00
Igor Ignatyev
69606205a6 8230364: [JVMCI] a number of JVMCI tests are not jtreg enabled
Reviewed-by: kvn
2019-11-07 13:39:31 -08:00
Vladimir Kozlov
5c506779b2 8233035: Update JVMCI
Reviewed-by: dlong
2019-10-29 15:35:06 -07:00
Vladimir Kozlov
e15849a0f8 8232904: Update JVMCI
Reviewed-by: dnsimon
2019-10-24 16:58:39 -07:00
Jesper Wilhelmsson
a1e6e5f785 Merge 2019-06-25 14:36:31 +02:00
Dean Long
01c739c34a 8225369: [AOT] vm/classfmt/cpl/cplres001/cplres00101m004/cplres00101m004.html fails
Reviewed-by: kvn, never
2019-06-24 18:51:54 -04:00
Vladimir Kozlov
3b0ee5a6d8 8225810: Update JVMCI
Reviewed-by: never, dnsimon
2019-06-21 16:21:13 -07:00
Dean Long
c18ffd6a79 8223050: JVMCI: findUniqueConcreteMethod() should not use Dependencies::find_unique_concrete_method() for non-virtual methods
Reviewed-by: kvn, dnsimon
2019-06-07 18:11:33 -04:00
Vladimir Kozlov
12bb59fb63 8225350: compiler/jvmci/compilerToVM/IsCompilableTest.java timed out
Reviewed-by: iignatyev
2019-06-07 13:57:08 -07:00
Vladimir Kozlov
4bd89c7401 8208379: compiler/jvmci/events/JvmciNotifyInstallEventTest.java failed with "Got unexpected event count after 2nd install attempt: expected 9 to equal 2"
Reviewed-by: iignatyev
2019-06-06 15:12:37 -07:00
Vladimir Kozlov
7356905a83 8225019: Update JVMCI
Reviewed-by: never, dlong
2019-06-04 12:44:53 -07:00
Ekaterina Pavlova
b8e5aefce8 8225199: [Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1
Reviewed-by: kvn
2019-06-03 17:14:23 -07:00
Vladimir Kozlov
72f082e925 8223332: Update JVMCI
Reviewed-by: never, dnsimon
2019-05-06 20:05:19 -07:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Igor Ignatyev
7ec0fe5737 8167276: jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails with -XX:-EliminateAllocations
Reviewed-by: kvn
2018-01-30 16:48:53 -08:00
Tom Rodriguez
e590813950 8215748: Application fails when executed with Graal
Reviewed-by: iveresov, kvn, thartmann
2019-01-15 22:59:33 -08:00