[jdk11u-dev] RFR: 8298730: Refactor subsystem_file_line_contents and add docs and tests [v2]

Severin Gehwolf sgehwolf at openjdk.org
Fri Feb 13 09:57:14 UTC 2026


On Thu, 12 Feb 2026 13:56:13 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

>> Not clean, adjustments necessary to adapt for pre-C++-11, and a small change to account for lack of JEP 371.
>
> Jonathan Dowland has updated the pull request incrementally with one additional commit since the last revision:
> 
>   different approach for initializing _is_frozen
>   
>   G++ does not like a trailing ',' in the member initialiser list,
>   which occurs for non-debug builds when expanding DEBUG_ONLY.
>   
>   Move the initialisation of _is_fixed into the constructor
>   definitions.
>   
>   Signed-off-by: Jonathan Dowland <jdowland at redhat.com>

@jmtd GHA failures in gtests look related:


cgroupTest.SubSystemFileLineContentsMultipleLinesErrorCases_test

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/resourceArea.inline.hpp:33
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/runner/work/jdk11u-dev/jdk11u-dev/src/hotspot/share/memory/resourceArea.inline.hpp:33), pid=2485, tid=2485
#  fatal error: memory leak: allocating without ResourceMark
#
# JRE version: OpenJDK Runtime Environment (11.0.31) (fastdebug build 11.0.31-internal+0-jmtd-39940791c26516461f962c95d993becc4cf2769c)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.31-internal+0-jmtd-39940791c26516461f962c95d993becc4cf2769c, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h %d" (or dumping to /home/runner/work/jdk11u-dev/jdk11u-dev/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_common/scratch/1/core.2485)
#
# An error report file with more information is saved as:
# /home/runner/work/jdk11u-dev/jdk11u-dev/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_common/scratch/1/hs_err_pid2485.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.


Please take a look. Thanks!

-------------

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3149#issuecomment-3896167199


More information about the jdk-updates-dev mailing list