RFR: 8343031: StopInterpreterAt not work on linux-x86_64
SendaoYan
syan at openjdk.org
Fri Oct 25 03:59:34 UTC 2024
Hi all,
The VM option `-XX:StopInterpreterAt=1` doesn't work on linux-x86_64 before this PR. `MacroAssembler::int3` call `os::breakpoint()`, but the `os::breakpoint()` [implementation](https://github.com/openjdk/jdk/blob/master/src/hotspot/os/posix/os_posix.cpp#L284) is empty.
In this PR, I replace call `os::breakpoint()` as emit int3 assemble code directly.
Additional testing:
- [ ] linux x64 build with release/fastdebug/slowdebug configure
- [ ] linux x64 jtreg tests(include tier1/2/3 etc.) with release build
- [ ] linux x64 jtreg tests(include tier1/2/3 etc.) with fastdebug build
-------------
Commit messages:
- 8343031: StopInterpreterAt not work on linux-x86_64
Changes: https://git.openjdk.org/jdk/pull/21701/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21701&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8343031
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/21701.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21701/head:pull/21701
PR: https://git.openjdk.org/jdk/pull/21701
More information about the hotspot-runtime-dev
mailing list