49 Commits

Author SHA1 Message Date
Chris Plummer
c8a95a763c 8072701: resume001 failed due to ERROR: timeout for waiting for a BreakpintEvent
Reviewed-by: amenkov, kevinw, sspitsyn
2024-07-15 20:26:52 +00:00
Leonid Mesnik
99e4d77aac 8333117: Remove support of remote and manual debuggee launchers
Reviewed-by: cjplummer
2024-06-20 15:43:44 +00:00
Leonid Mesnik
b3e29db144 8333108: Update vmTestbase/nsk/share/DebugeeProcess.java to don't use finalization
Reviewed-by: cjplummer, sspitsyn
2024-05-30 18:21:40 +00:00
Leonid Mesnik
771f6a2f8e 8327704: Update nsk/jdi tests to use driver instead of othervm
Reviewed-by: sspitsyn, cjplummer
2024-03-21 22:35:25 +00:00
Kim Barrett
998d0baab0 8324799: Use correct extension for C++ test headers
Reviewed-by: jwaters, gli, coleenp, lmesnik
2024-02-29 06:24:42 +00:00
Leonid Mesnik
89987dbf87 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Reviewed-by: cjplummer, amenkov
2023-10-03 15:03:47 +00:00
Chris Plummer
4a6d6d5a59 8308187: jdi/EventSet/resume/resume008 failed with "EventHandler> Unexpected event: ThreadStartEvent in thread resume008-thread0"
Reviewed-by: dcubed
2023-05-18 22:08:10 +00:00
Afshin Zafari
e1e758a7b4 8305083: Remove finalize() from test/hotspot/jtreg/vmTestbase/nsk/share/ and /jpda that are used in serviceability/dcmd/framework tests
Reviewed-by: coleenp, dholmes
2023-05-12 07:32:46 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Chris Plummer
8b0eb7299a 8289765: JDI EventSet/resume/resume008 failed with "ERROR: suspendCounts don't match for : VirtualThread-unparker"
Reviewed-by: sspitsyn, kevinw
2023-03-09 21:55:15 +00:00
Chris Plummer
0926d0cbce 8302516: Do some cleanup of nsk/share/jdi/EventHandler.java
Reviewed-by: amenkov, kevinw, lmesnik
2023-03-02 16:03:38 +00:00
Leonid Mesnik
a91143cc93 8298907: nsk JDI tests pass if the debuggee failed to launch
Reviewed-by: cjplummer, kevinw
2023-01-30 17:32:45 +00:00
Chris Plummer
d6e9f01584 8285416: [LOOM] Some nsk/jdi tests fail due to needing too many virtual threads
8282383: [LOOM] 6 nsk JDI and JDB tests sometimes failing with vthread wrapper due to running out of carrier threads

Reviewed-by: dholmes, sspitsyn, alanb, lmesnik
2023-01-06 18:49:11 +00:00
Leonid Mesnik
216c6f6340 8294881: test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003/TestDescription.java fails
Reviewed-by: cjplummer, sspitsyn
2022-11-15 17:19:48 +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
Chris Plummer
74be2d9ef6 8286983: rename jdb -trackvthreads and debug agent enumeratevthreads options and clarify "Preview Feature" nature of these options
Reviewed-by: amenkov, lmesnik, alanb
2022-06-07 19:07:34 +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
Chris Plummer
5c0934931b 8285032: vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy008/ fails with "eventSet.suspendPolicy() != policyExpected"
Reviewed-by: sspitsyn, amenkov
2022-04-27 20:38:18 +00:00
Feilong Jiang
de9596c290 8284495: [testbug] Adapt nsk tests to the RISC-V platform
Reviewed-by: lmesnik, cjplummer
2022-04-08 00:58:53 +00:00
Leonid Mesnik
a72c8aa6ad 8273921: Refactor NSK/JDI tests to create thread using factory
Reviewed-by: cjplummer, sspitsyn, amenkov
2021-09-21 23:36:16 +00:00
Alex Menkov
5fde4b64e2 8273909: vmTestbase/nsk/jdi/Event/request/request001 can still fail with "ERROR: new event is not ThreadStartEvent"
Reviewed-by: cjplummer, sspitsyn
2021-09-20 20:17:57 +00:00
Alex Menkov
8c022e2c17 8270434: JDI+UT: Unexpected event in JDI tests
Reviewed-by: sspitsyn, kevinw
2021-09-16 23:45:08 +00:00
Anton Kozlov
dbc9e4b50c 8253795: Implementation of JEP 391: macOS/AArch64 Port
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread

Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
2021-03-25 18:10:18 +00:00
Alex Menkov
57fc8e9b35 8262080: vmTestbase/nsk/jdi/Event/request/request001/TestDescription.java failed with "ERROR: new event is not ThreadStartEvent"
Reviewed-by: cjplummer, sspitsyn
2021-03-19 20:11:32 +00:00
Harold Seigel
b38d5be887 8261340: Fix 'deprecated' warnings in the vmTestbase/nsk tests
Reviewed-by: lfoltan, sspitsyn
2021-02-09 13:16:26 +00:00
Harold Seigel
db0ca2b9d4 8261161: Clean up warnings in hotspot/jtreg/vmTestbase tests
Reviewed-by: lfoltan, coleenp
2021-02-08 13:19:40 +00:00
Per Liden
79f1dfb8d3 8255987: JDI tests fail with com.sun.jdi.ObjectCollectedException
Reviewed-by: dholmes, cjplummer
2020-12-09 07:46:04 +00:00
Igor Ignatyev
8f7c9a7b18 8252001: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jdi
Reviewed-by: cjplummer, sspitsyn
2020-09-30 16:18:27 +00:00
Leonid Mesnik
13946835b5 8244537: JDI tests fail due to "ERROR: Exception : nsk.share.jdi.JDITestRuntimeException: JDITestRuntimeException : ** event IS NOT a breakpoint **"
Reviewed-by: sspitsyn, amenkov
2020-08-05 10:48:55 -07:00
Daniel D. Daugherty
7d54e71d38 8246493: JDI stress/serial/mixed002 needs to use WhiteBox.deflateIdleMonitors support
Reviewed-by: cjplummer, sspitsyn
2020-06-30 15:24:01 -04:00
Fairoz Matte
b9ce3b435e 8243451: nsk.share.jdi.Debugee.isJFR_active() is incorrect and corresponsing logic seems to be broken
Fix check isJFR_active()

Reviewed-by: sspitsyn, lmesnik
2020-06-11 08:23:09 +00:00
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
Leonid Mesnik
df182ea6e0 8244133: Refactor nsk/jdi tests to reduce code duplication in settingBreakpoint communication
Reviewed-by: cjplummer, sspitsyn
2020-05-04 11:40:09 -07:00
Igor Ignatyev
6ff66db553 8242314: use reproducible random in vmTestbase shared code
Reviewed-by: kbarrett, lmesnik
2020-04-28 20:49:28 -07:00
Leonid Mesnik
dc0cc5520c 8235530: Removed duplicated threadByName methods in nsk/jdi tests
Reviewed-by: dholmes, sspitsyn
2019-12-09 13:02:07 -08:00
Jan Lahoda
29852ecd80 8232684: Make switch expressions final
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Leonid Mesnik
2cb764b24b 8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java
Reviewed-by: sspitsyn, phh, cjplummer
2019-10-03 08:50:10 -07:00
Gary Adams
9bc10ee9bf 8068225: nsk/jdi/EventQueue/remove_l/remove_l005 intermittently times out
Reviewed-by: cjplummer, sspitsyn
2019-02-11 07:19:32 -05:00
Gary Adams
b979952d62 8158066: SourceDebugExtensionTest fails to rename file
Reviewed-by: dcubed, dholmes
2019-01-18 05:33:28 -05:00
Goetz Lindenmaier
91e5051871 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms
Use LIBPATH on AIX, no shared memory connector on any Unix.

Reviewed-by: gadams, simonis, sspitsyn
2018-12-31 14:38:16 +01:00
Daniil Titov
52bee8fe04 8203174: [Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer
2018-11-15 09:56:49 -08:00
Jean Christophe Beyler
1d340e454c 8212939: Add space after if/while/for/switch and parenthesis
Add spaces where needed

Reviewed-by: cjplummer, sspitsyn
2018-11-12 13:13:00 -08:00
Jean Christophe Beyler
d0560a2860 8210182: Remove macros for C compilation from vmTestBase but non jvmti
Remove the macros and update the code

Reviewed-by: sspitsyn, cjplummer, amenkov
2018-08-31 22:55:34 -07:00
Igor Ignatyev
8c47dc4a94 8209611: use C++ compiler for hotspot tests
Reviewed-by: vlivanov, ihse, erikj, jcbeyler
2018-08-28 14:37:34 -07:00
Daniil Titov
bebd49cf84 8206086: [Graal] JDI tests fail with com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer, amenkov
2018-06-29 12:34:03 -07:00
Mikael Vidstedt
1f437b30f3 8202331: Obsolete support for commercial features
Reviewed-by: kvn, cjplummer, dholmes
2018-06-21 21:37:28 -07:00
Daniil Titov
b5eadc5721 8203809: [Graal] JDI tests fail with: JDITestRuntimeException : ** event IS NOT a breakpoint **
Reviewed-by: sspitsyn, cjplummer
2018-06-13 10:36:13 -07:00
Igor Ignatyev
e48cfc709d 8199382: [TESTBUG] Open source VM testbase JDI tests
Reviewed-by: erikj, kvn, sspitsyn
2018-05-05 09:24:29 -07:00
Igor Ignatyev
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -07:00