void __INIT_sdljava_event_SDLMouseButtonEvent() { staticInitializerLock(&__TIB_sdljava_event_SDLMouseButtonEvent); // While the static initializer mutex is locked, locally store the value of // whether class initialization began or not int initBegan = __TIB_sdljava_event_SDLMouseButtonEvent.classInitializationBegan; // Whether or not class initialization had already began, it has begun now __TIB_sdljava_event_SDLMouseButtonEvent.classInitializationBegan = 1; staticInitializerUnlock(&__TIB_sdljava_event_SDLMouseButtonEvent); JAVA_LONG curThreadId = (JAVA_LONG)pthread_self(); if (initBegan) { if (__TIB_sdljava_event_SDLMouseButtonEvent.initializerThreadId != curThreadId) { // Busy wait until the other thread finishes initializing this class while (!__TIB_sdljava_event_SDLMouseButtonEvent.classInitialized) { // do nothing } } } else { __TIB_sdljava_event_SDLMouseButtonEvent.initializerThreadId = curThreadId; XMLVM_CLASS_USED("sdljava.event.SDLMouseButtonEvent") __INIT_IMPL_sdljava_event_SDLMouseButtonEvent(); } }
void __INIT_java_nio_charset_CodingErrorAction() { staticInitializerLock(&__TIB_java_nio_charset_CodingErrorAction); // While the static initializer mutex is locked, locally store the value of // whether class initialization began or not int initBegan = __TIB_java_nio_charset_CodingErrorAction.classInitializationBegan; // Whether or not class initialization had already began, it has begun now __TIB_java_nio_charset_CodingErrorAction.classInitializationBegan = 1; staticInitializerUnlock(&__TIB_java_nio_charset_CodingErrorAction); JAVA_LONG curThreadId = (JAVA_LONG)pthread_self(); if (initBegan) { if (__TIB_java_nio_charset_CodingErrorAction.initializerThreadId != curThreadId) { // Busy wait until the other thread finishes initializing this class while (!__TIB_java_nio_charset_CodingErrorAction.classInitialized) { // do nothing } } } else { __TIB_java_nio_charset_CodingErrorAction.initializerThreadId = curThreadId; XMLVM_CLASS_USED("java.nio.charset.CodingErrorAction") __INIT_IMPL_java_nio_charset_CodingErrorAction(); } }
void __INIT_java_lang_ThreadGroup_ChildrenGroupsLock() { staticInitializerLock(&__TIB_java_lang_ThreadGroup_ChildrenGroupsLock); // While the static initializer mutex is locked, locally store the value of // whether class initialization began or not int initBegan = __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.classInitializationBegan; // Whether or not class initialization had already began, it has begun now __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.classInitializationBegan = 1; staticInitializerUnlock(&__TIB_java_lang_ThreadGroup_ChildrenGroupsLock); JAVA_LONG curThreadId = (JAVA_LONG)pthread_self(); if (initBegan) { if (__TIB_java_lang_ThreadGroup_ChildrenGroupsLock.initializerThreadId != curThreadId) { // Busy wait until the other thread finishes initializing this class while (!__TIB_java_lang_ThreadGroup_ChildrenGroupsLock.classInitialized) { // do nothing } } } else { __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.initializerThreadId = curThreadId; XMLVM_CLASS_USED("java.lang.ThreadGroup$ChildrenGroupsLock") __INIT_IMPL_java_lang_ThreadGroup_ChildrenGroupsLock(); } }
void __INIT_org_xmlvm_runtime_Mutex() { staticInitializerLock(&__TIB_org_xmlvm_runtime_Mutex); // While the static initializer mutex is locked, locally store the value of // whether class initialization began or not int initBegan = __TIB_org_xmlvm_runtime_Mutex.classInitializationBegan; // Whether or not class initialization had already began, it has begun now __TIB_org_xmlvm_runtime_Mutex.classInitializationBegan = 1; staticInitializerUnlock(&__TIB_org_xmlvm_runtime_Mutex); JAVA_LONG curThreadId = (JAVA_LONG)pthread_self(); if (initBegan) { if (__TIB_org_xmlvm_runtime_Mutex.initializerThreadId != curThreadId) { // Busy wait until the other thread finishes initializing this class while (!__TIB_org_xmlvm_runtime_Mutex.classInitialized) { // do nothing } } } else { __TIB_org_xmlvm_runtime_Mutex.initializerThreadId = curThreadId; XMLVM_CLASS_USED("org.xmlvm.runtime.Mutex") __INIT_IMPL_org_xmlvm_runtime_Mutex(); } }
void __INIT_org_apache_harmony_niochar_charset_UTF_8_Encoder() { staticInitializerLock(&__TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder); // While the static initializer mutex is locked, locally store the value of // whether class initialization began or not int initBegan = __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.classInitializationBegan; // Whether or not class initialization had already began, it has begun now __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.classInitializationBegan = 1; staticInitializerUnlock(&__TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder); JAVA_LONG curThreadId = (JAVA_LONG)pthread_self(); if (initBegan) { if (__TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.initializerThreadId != curThreadId) { // Busy wait until the other thread finishes initializing this class while (!__TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.classInitialized) { // do nothing } } } else { __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.initializerThreadId = curThreadId; XMLVM_CLASS_USED("org.apache.harmony.niochar.charset.UTF_8$Encoder") __INIT_IMPL_org_apache_harmony_niochar_charset_UTF_8_Encoder(); } }
void __INIT_org_apache_harmony_luni_platform_IMemorySystem() { staticInitializerLock(&__TIB_org_apache_harmony_luni_platform_IMemorySystem); // While the static initializer mutex is locked, locally store the value of // whether class initialization began or not int initBegan = __TIB_org_apache_harmony_luni_platform_IMemorySystem.classInitializationBegan; // Whether or not class initialization had already began, it has begun now __TIB_org_apache_harmony_luni_platform_IMemorySystem.classInitializationBegan = 1; staticInitializerUnlock(&__TIB_org_apache_harmony_luni_platform_IMemorySystem); JAVA_LONG curThreadId = (JAVA_LONG)pthread_self(); if (initBegan) { if (__TIB_org_apache_harmony_luni_platform_IMemorySystem.initializerThreadId != curThreadId) { // Busy wait until the other thread finishes initializing this class while (!__TIB_org_apache_harmony_luni_platform_IMemorySystem.classInitialized) { // do nothing } } } else { __TIB_org_apache_harmony_luni_platform_IMemorySystem.initializerThreadId = curThreadId; XMLVM_CLASS_USED("org.apache.harmony.luni.platform.IMemorySystem") __INIT_IMPL_org_apache_harmony_luni_platform_IMemorySystem(); } }