RFR: 8356778: Compiler add event logging in case of failures
    Martin Doerr 
    mdoerr at openjdk.org
       
    Thu May 15 14:58:57 UTC 2025
    
    
  
On Mon, 12 May 2025 17:56:47 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> We should add event logging to some related hotspot methods. While testing this functionality it turned out that sometimes the CompileTask pointer is 0, so this needs to be check to avoid crashes.
src/hotspot/share/c1/c1_Compilation.cpp line 651:
> 649:   assert(msg != nullptr, "bailout message must exist");
> 650:   // record the bailout for hserr envlog
> 651:   if (msg != nullptr) {
How can it be nullptr? All callers pass some message.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25188#discussion_r2091391123
    
    
More information about the hotspot-compiler-dev
mailing list