[12] RFR(S): 8213014: Crash in CompileBroker::make_thread due to OOM

Tobias Hartmann tobias.hartmann at oracle.com
Tue Oct 30 09:51:57 UTC 2018


Hi,

please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8213014
http://cr.openjdk.java.net/~thartmann/8213014/webrev.00/

The code in compileBroker.cpp:806 dereferences 'comp' which is NULL if creation of the sweeper
thread fails. I've also removed the 'compiler_thread' argument and replaced it by a "comp != NULL"
check. In addition, the calls to create_thread_oop() in init_compiler_sweeper_threads() need to
CHECK for exceptions.

Thanks,
Tobias


More information about the hotspot-compiler-dev mailing list