RFR: JDK-8292769: [JVMCI] OutOfMemoryError thrown when attaching the libgraal isolate causes HotSpot to crash. [v3]

Tomáš Zezula duke at openjdk.org
Fri Aug 26 11:20:54 UTC 2022


On Thu, 25 Aug 2022 19:08:33 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> src/hotspot/share/jvmci/jvmciEnv.cpp line 241:
>> 
>>> 239:   init_env_mode_runtime(thread, NULL, false);
>>> 240:   if (_attach_threw_OOME) {
>>> 241:     compile_state->set_failure(true, "Out of memory");
>> 
>> Could this be more explicit like `JVMCI compiler attach returned out of memory`?  cc @dougxc
>
> I would suggest: `Out of memory while attaching JVMCI compiler to current thread`

Fixed.

-------------

PR: https://git.openjdk.org/jdk/pull/9978


More information about the hotspot-compiler-dev mailing list