__device__ int edu_syr_pcpratts_gc_malloc(char * gc_info, long long size){ size_t space_size = m_Local[1]; long long ret = edu_syr_pcpratts_gc_malloc_no_fail(gc_info, size); size_t end = ret + size + 8L; if(end >= space_size){ return -1; } ret = ret >> 4; return (int) ret; }
$$__device__$$ int java_lang_OutOfMemoryError_initab850b60f96d11de8a390800200c9a66($$__global$$ char * gc_info, int * exception){ int r0 = -1; int thisref = edu_syr_pcpratts_gc_malloc_no_fail(gc_info, 40); char * thisref_deref = edu_syr_pcpratts_gc_deref(gc_info, thisref); //class info edu_syr_pcpratts_gc_set_count(thisref_deref, 0); edu_syr_pcpratts_gc_set_color(thisref_deref, COLOR_GREY); edu_syr_pcpratts_gc_set_type(thisref_deref, 9); edu_syr_pcpratts_gc_set_ctor_used(thisref_deref, 1); edu_syr_pcpratts_gc_set_size(thisref_deref, 40); instance_setter_java_lang_Throwable_cause(gc_info, thisref, -1, exception); instance_setter_java_lang_Throwable_detailMessage(gc_info, thisref, -1, exception); instance_setter_java_lang_Throwable_stackTrace(gc_info, thisref, -1, exception); //r0 := @this: java.lang.OutOfMemoryError edu_syr_pcpratts_gc_assign(gc_info, & r0 , thisref ); //specialinvoke r0.<java.lang.VirtualMachineError: void <init>()>() java_lang_VirtualMachineError_initab850b60f96d11de8a390800200c9a66_body0_(gc_info, thisref, exception); //return return thisref; }