RFR: 8352110: [ASAN] heap-use-after-free of task->directive()->PrintCompilationOption [v2]
Abdelhak Zaaim
duke at openjdk.org
Sun Mar 16 23:48:53 UTC 2025
On Sun, 16 Mar 2025 15:27:37 GMT, SendaoYan <syan at openjdk.org> wrote:
>> Hi all,
>>
>> After [JDK-8351938](https://bugs.openjdk.org/browse/JDK-8351938) several tests intermittent fails, because JVM print additional message "COMPILE SKIPPED: concurrent class loading", and AddressSanitizer report 'heap-use-after-free' error.
>>
>> I don't know why `task->directive()->PrintCompilationOption` set as `true` automatically. This PR remove `task->directive()->PrintCompilationOption` usage, and set PrintCompilation to true when receive CompileCommandEnum::PrintCompilation.
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>
> Set PrintCompilation to true when receive CompileCommandEnum::PrintCompilation
Marked as reviewed by abdelhak-zaaim at github.com (no known OpenJDK username).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24073#pullrequestreview-2688863905
More information about the hotspot-compiler-dev
mailing list