RFR: 8217445: [JVMCI] incorrect management of JVMCI compilation failure reason string

Tobias Hartmann tobias.hartmann at oracle.com
Tue Jan 22 08:00:21 UTC 2019

Hi Doug,

looks good to me too.

Best regards,

On 21.01.19 13:57, Doug Simon wrote:
> The CompileTask::_failure_reason field assumes it is only ever assigned a compile-time constant string value (i.e. never needs to be freed). This is not the case when the value is derived from a JVMCI exception message. This patch adds support for managing a C heap allocated value in this field.
> https://bugs.openjdk.java.net/browse/JDK-8217445
> http://cr.openjdk.java.net/~dnsimon/8217445
> -Doug

More information about the hotspot-compiler-dev mailing list