Details
Description
A JVMCI compilation failure message string copied from a Java String object is assigned to CompileTask::_failure_reason. Currently, the string can be allocated in resource memory within a ResourceMark scope that is exited before the associated CompileTask is freed. CompileTask must be modified to support a C heap allocated _failure_reason.