[jdk11u-dev] RFR: 8244508: JFR: FlightRecorderOptions reset date format
Pushkar N Kulkarni
duke at openjdk.org
Wed Oct 25 17:37:35 UTC 2023
On Mon, 25 Sep 2023 17:43:07 GMT, Pushkar N Kulkarni <duke at openjdk.org> wrote:
>> Hello all,
>>
>> This backport request is related to JDK-8244508 [1]. When using JFR (`-XX:StartFlightRecording`), the configured default Locale is not honored, with FormatData or TimezoneNames(for example), because the relevant ResourceBundles do not get loaded when an attempt is made to locate and load them during VM startup (i.e when `-XX:StartFlightRecording` triggers JFR initialiazation). Though [1] quotes a mailing-list post [2] mentioning this issue was not seen with jdk11 then, the testcase in [1] does fail with 11.0.20 (as well as 11.0.22/master branch) as of today:
>>
>>
>> $ java --show-version -Duser.country=DE -Duser.language=de -XX:FlightRecorderOptions=stackdepth=128 Main
>> openjdk 11.0.22-internal 2024-01-16
>> OpenJDK Runtime Environment (build 11.0.22-internal+0-adhoc.pushkarnk.jdk11u-dev)
>> OpenJDK 64-Bit Server VM (build 11.0.22-internal+0-adhoc.pushkarnk.jdk11u-dev, mixed mode)
>> expected: 01.01.2020, 00:00:00
>> actual: 2020 Jan 1 00:00:00
>>
>> Testing: Linux x86-64 build, tier1 tests with `release` and `fastdebug` builds.
>>
>> [1] https://bugs.openjdk.org/browse/JDK-8244508
>> [2] https://mail.openjdk.org/pipermail/hotspot-jfr-dev/2020-March/001313.html
>
> Hello Maintainers,
>
> Apologies for the ping. I was hoping to get some feedback on this backport request. Please do let me know if there are questions. cc @RealCLanger @GoeLin
> @pushkarnk This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!
I'd appreciate feedback on this backport request. Thank you.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2121#issuecomment-1779747776
More information about the jdk-updates-dev
mailing list