/* 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_VMThread
#include "jcgobchk.h"
#endif

JCGO_NOSEP_STATIC void CFASTCALL
java_lang_VMThread_1__run__( java_lang_VMThread_1 This )
{
 {
  {
   JCGO_SYNC_BLOCK(JCGO_CLINIT_VARACC(java_lang_VMThread__class, java_lang_VMThread__nonDaemonLock))
   {
    while (java_lang_VMThread__nonDaemonCnt != 0)
    {
     {
      JCGO_TRY_BLOCK
      {
       (java_lang_VMThread__wait__LoJI(
        java_lang_VMThread__nonDaemonLock, JLONG_C(0), 0));
      }
      JCGO_TRY_LEAVE
      JCGO_TRY_CATCHES(1)
      JCGO_TRY_CATCH(OBJT_java_lang_InterruptedException, MAXT_java_lang_InterruptedException)
      {
      }
      JCGO_TRY_RETHROW(1)
     }
    }
   }
   JCGO_SYNC_END
  }
  (java_lang_VMThread__flushSystemOut__());
  (java_lang_Runtime__runShutdownHooks__(
   (java_lang_Runtime__getRuntime__())));
  (java_lang_VMThread__flushSystemOut__());
 }
}

JCGO_NOSEP_INLINE java_lang_VMThread_1 CFASTCALL
java_lang_VMThread_1__this__L40aspLsIZ( java_lang_VMThread_1 This,
 java_lang_VMThread vmThread, java_lang_String name, jint priority,
 jboolean daemon )
{
 {
  (java_lang_Thread__this__L40aspLsIZ((java_lang_Thread)This, vmThread,
   name, priority, (jboolean)daemon));
 }
 return This;
}

JCGO_NOSEP_FRWINL java_lang_VMThread_1 CFASTCALL
java_lang_VMThread_1__new__L40aspLsIZ( java_lang_VMThread vmThread,
 java_lang_String name, jint priority, jboolean daemon )
{
 return java_lang_VMThread_1__this__L40aspLsIZ(
  (java_lang_VMThread_1)jcgo_newObject((jvtable)&java_lang_VMThread_1_methods),
  vmThread, name, priority, daemon);
}

JCGO_NOSEP_DATA CONST struct java_lang_VMThread_1_methods_s java_lang_VMThread_1_methods=
{
 JCGO_CLASSREF_OF(java_lang_VMThread_1__class),
 JCGO_GCJDESCR_INIT(java_lang_VMThread_1_s, locals)
 OBJT_java_lang_VMThread_1,
 (JCGO_OBJSIZE_T)sizeof(struct java_lang_VMThread_1_s),
 NULL,
 JCGO_CLINIT_INIT(0)
 0,
 java_lang_Object__equals__Lo,
 java_lang_Object__hashCode__,
 java_lang_Thread__toString__,
 java_lang_Object__finalize__,
 java_lang_VMThread_1__run__
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_VMThread_1_class_s
 java_lang_VMThread_1__class JCGO_THRD_ATTRNONGC=
{
 {
  &java_lang_Class_methods,
  JCGO_MON_INIT
  JCGO_OBJREF_OF(*(java_lang_Object)&java_lang_VMThread_1_methods),
  JCGO_STRREF_OF(jcgo_string1_VMThrd1),
  JCGO_CLASSREF_OF(java_lang_Thread__class),
  ((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
  0x8
 }
};

JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_VMThrd1
 JCGO_THRD_ATTRNONGC=
{
 &java_lang_String_methods,
 JCGO_MON_INIT
 (java_lang_Object)JCGO_OBJREF_OF(jcgo_array9_VMThread),
 0, 20, (jint)0x62cd3022L
};

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

#endif
