/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */

#ifdef JCGO_SEPARATED
#define JCGO_116
#include "jcgortl.h"
#include "Main.h"
#endif

#ifdef JCGO_116

#ifdef CHKALL_java_lang_ref_VMReference
#include "jcgobchk.h"
#endif

JCGO_NOSEP_INLINE void CFASTCALL
java_lang_ref_VMReference__setReferenceVmData__LoL43jxv( java_lang_Object
 vmdata, java_lang_ref_Reference ref )
{
 {
  if (vmdata == jnull)
  {
   JCGO_THROW_EXC(java_lang_OutOfMemoryError__new__());
  }
  JCGO_FIELD_ACCESS(java_lang_ref_Reference, ref, vmdata)= vmdata;
  if ((JCGO_METHODS_OF(ref)->jcgo_typeid== OBJT_jboolean))
  {
   (java_lang_ref_VMReference__updateSoftRefAndGet0__Lo(
    vmdata));
  }
 }
}

JCGO_NOSEP_FRWINL void CFASTCALL
java_lang_ref_VMReference__initReferent__L43jxvLo( java_lang_ref_Reference
 ref, java_lang_Object referent )
{
 JCGO_CLINIT_TRIG(java_lang_ref_VMReference__class);
 {
  if (referent != jnull)
  {
   (java_lang_ref_VMReference__setReferenceVmData__LoL43jxv(
    (java_lang_ref_VMReference__initReferent0__Lo(
    referent)), ref));
  }
 }
}

JCGO_NOSEP_FRWINL java_lang_Object CFASTCALL
java_lang_ref_VMReference__getReferent__L43jxv( java_lang_ref_Reference
 ref )
{
 JCGO_CLINIT_TRIG(java_lang_ref_VMReference__class);
 {
  java_lang_Object vmdata;
  return (vmdata= JCGO_FIELD_ACCESS(java_lang_ref_Reference, ref, vmdata)) !=
   jnull? ((JCGO_METHODS_OF(ref)->jcgo_typeid== OBJT_jboolean)? (java_lang_ref_VMReference__updateSoftRefAndGet0__Lo(
   vmdata)) : (java_lang_ref_VMReference__getReferent0__Lo(
   vmdata))) : jnull;
 }
}

JCGO_NOSEP_STATIC jint CFASTCALL
java_lang_ref_VMReference__enqueueByGC0X__LoLo( java_lang_Object refObj,
 java_lang_Object vmdata )
{
 JCGO_CLINIT_TRIG(java_lang_ref_VMReference__class);
 {
  java_lang_ref_Reference ref;
  java_lang_Object queue;
  ref= (java_lang_ref_Reference)JCGO_CAST_OBJECT0(OBJT_java_lang_ref_WeakReference,
   MAXT_java_lang_ref_WeakReference, refObj);
  JCGO_FIELD_ACCESS(java_lang_ref_Reference, ref, vmdata)= vmdata;
  if ((queue= ((java_lang_Object)jnull)) != jnull)
  {
   (void)((jboolean)0);
  }
  return 0;
 }
}

JCGO_NOSEP_STATIC void CFASTCALL
java_lang_ref_VMReference__class__0( void )
{
 JCGO_CLINIT_BEGIN(java_lang_ref_VMReference__class);
 {
  if (!(java_lang_String__equals__Lo(
   JCGO_STRREF_OF(jcgo_string3_String6D), (java_lang_Object)JCGO_STRREF_OF(jcgo_string3_String6D))))
  {
   (java_lang_ref_VMReference__enqueueByGC0X__LoLo(
    (java_lang_Object)jnull, (java_lang_Object)jnull));
  }
 }
 JCGO_CLINIT_DONE(java_lang_ref_VMReference__class);
}

JCGO_NOSEP_DATA CONST struct jcgo_methods_s java_lang_ref_VMReference_methods=
{
 JCGO_CLASSREF_OF(java_lang_ref_VMReference__class),
 JCGO_GCJDESCR_ZEROINIT
 OBJT_java_lang_ref_VMReference,
 0,
 NULL,
 JCGO_CLINIT_INIT(java_lang_ref_VMReference__class__0)
 0
};

JCGO_NOSEP_DATA struct java_lang_ref_VMReference_class_s java_lang_ref_VMReference__class
 ATTRIBNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&java_lang_ref_VMReference_methods),
  JCGO_STRREF_OF(jcgo_string1_VMRfrnc),
  JCGO_CLASSREF_OF(java_lang_Object__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
  0x1d0
 }
};

JCGO_NOSEP_DATA CONST jcgo_arrtype108_GmCnnctn jcgo_array2_VMRfrnc=
{
 (jvtable)&jbyteArr_methods,
 JCGO_MON_INIT
 25,
 {
  (jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
   (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)108/*'l'*/,
   (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)103/*'g'*/,
   (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)102/*'f'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)86/*'V'*/,
   (jbyte)(jchar)77/*'M'*/, (jbyte)(jchar)82/*'R'*/, (jbyte)(jchar)101/*'e'*/,
   (jbyte)(jchar)102/*'f'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/,
   (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)99/*'c'*/,
   (jbyte)(jchar)101/*'e'*/
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_VMRfrnc
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array2_VMRfrnc),
 0, 25, (jint)0xa3cedc5L
};

#ifdef CHKALL_java_lang_ref_VMReference
#include "jcgochke.h"
#endif

#endif
