RFR (XS): 8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
vladimir.kozlov at oracle.com
Thu Oct 3 16:15:47 PDT 2013
Can you explain how _metadata pointer could be NULL if it was just
created and there is check h_m()->method_data() != NULL?
On 10/2/13 8:17 PM, Christian Thalinger wrote:
> 8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
> The problem is in ciMethod::ensure_method_data(). The call to ciMethodData::load_data() can fail when the backing metadata pointer is null and return with a still empty method data. So we have to check here for non-emptiness.
> I also removed ciMethodData::set_mature(). This method was only used with the old JSR 292 implementation.
More information about the hotspot-compiler-dev