JDK-8261020 : Wrong format parameter in create_emergency_chunk_path
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 8,11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-02-03
  • Updated: 2024-11-12
  • Resolved: 2021-05-04
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
11.0.12 b01Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
jio_snprintf(chunk_path, chunkname_max_len, "%s%s%s%s", repository_path_len, os::file_separator(), date_time_buffer, chunk_file_jfr_ext);

Should change repository_path_len to repository_path
Comments
[jdk8u-fix-request] Approval Request from lingjun-cg Wrong format parameter in create_emergency_chunk_path
06-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/602 Date: 2024-11-06 01:45:47 +0000
06-11-2024

URL: https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/5720ffa08f85 User: goetz Date: 2021-05-05 12:03:09 +0000
05-05-2021

URL: https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/5720ffa08f85 User: goetz Date: 2021-05-04 11:44:57 +0000
04-05-2021

From the RFR Mail: This bug was introduced in 8217362 (Emergency dump does not work when disk=false is set) and fixed in 8226511 (Implement JFR Event Streaming), It is currently unacceptable to fully backport 8226511 to 11u, so I filed a new issue to fix this problem.
04-05-2021

Fix Request (11u) 11u RFR thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-May/006030.html
03-05-2021