RFR: 8352110: [ASAN] heap-use-after-free of task->directive()->PrintCompilationOption [v2]
SendaoYan
syan at openjdk.org
Mon Mar 17 07:05:09 UTC 2025
On Mon, 17 Mar 2025 06:48:51 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
>> src/hotspot/share/compiler/compilerOracle.cpp line 338:
>>
>>> 336:
>>> 337: if (option == CompileCommandEnum::PrintCompilation) {
>>> 338: PrintCompilation = true;
>>
>> But this will set `PrintCompilation` to true globally, right? The directive should only apply to a specific method.
>
> Yes, we only want to have it enabled for certain methods. Let's do a backout of JDK-8351938 instead to address the problems properly in a REDO.
>
> https://github.com/openjdk/jdk/pull/24074
Okey, I think we should close this PR.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24073#discussion_r1998060638
More information about the hotspot-compiler-dev
mailing list