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

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Jan 21 17:44:55 UTC 2019


Hi Doug,

Looks good. Thank you for fixing it.

Vladimir

On 1/21/19 4:57 AM, 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