JDK-8260878 : com/sun/jdi/JdbOptions.java fails without jfr
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 16,17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-02-02
  • Updated: 2025-01-16
  • Resolved: 2021-02-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17
11.0.21Fixed 17 b08Fixed
Related Reports
Duplicate :  
Relates :  
Description
...testcase...
[jdb] Initializing jdb ...
[jdb] >
> run
[jdb] run JbdOptionsTarg
[jdb] VM start exception: VM initialization failed for: /jdk/build/linux-x86_64-server-fastdebug/images/jdk/bin/java -client -XX:+PrintVMOptions -XX:StartFlightRecording=dumponexit=true,maxsize=500M -XX:FlightRecorderOptions=repository=jfrrep -Xdebug -Xrunjdwp:transport=dt_socket,address=TENCENT64:37161,suspend=y JbdOptionsTarg
[jdb]
[jdb] Unrecognized VM option 'StartFlightRecording=dumponexit=true,maxsize=500M'
[jdb] Error: Could not create the Java Virtual Machine.
[jdb] Error: A fatal exception has occurred. Program will exit.
[jdb] VM option '+PrintVMOptions'
[jdb] VM option 'StartFlightRecording=dumponexit=true,maxsize=500M'
[jdb] VM option 'FlightRecorderOptions=repository=jfrrep'
[jdb]
[jdb] Fatal error:
[jdb] Target VM failed to initialize.
[jdb]
STDERR:
 stdout: [Initializing jdb ...
Comments
Fix request [11u] I request fix on behalf of Andrew Lu. He backports this as follow up to JDK-8234808. No risk, only a test change. Clean backport Test passes. SAP nightly testing passed.
23-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1971 Date: 2023-06-21 06:39:15 +0000
21-06-2023

Changeset: a47befc8 Author: Jie Fu <jiefu@openjdk.org> Date: 2021-02-03 01:18:11 +0000 URL: https://git.openjdk.java.net/jdk/commit/a47befc8
03-02-2021