JVM
LoadedClasses Struct Reference

Linked list data struct that holds information about a class that has already been resolved. More...

#include <jvm.h>

Collaboration diagram for LoadedClasses:

Public Attributes

JavaClassjc
 Pointer to the JavaClass struct of the resolved class. More...
 
uint8_t requiresInit
 Boolean telling if the class has already been initialized or if it still needs to be. More...
 
int32_t * staticFieldsData
 Array containing the data for the static fields of the class. More...
 
struct LoadedClassesnext
 Pointer to the next node of the linked list. More...
 

Detailed Description

Linked list data struct that holds information about a class that has already been resolved.

Member Data Documentation

§ jc

JavaClass* LoadedClasses::jc

Pointer to the JavaClass struct of the resolved class.

§ next

struct LoadedClasses* LoadedClasses::next

Pointer to the next node of the linked list.

§ requiresInit

uint8_t LoadedClasses::requiresInit

Boolean telling if the class has already been initialized or if it still needs to be.

Initialization of a class is done by calling the method <clinit> after reserving space for the static fields used by the class. Static fields with 'ConstantValue' attribute have their value set during class initialization.

See also
initClass()

§ staticFieldsData

int32_t* LoadedClasses::staticFieldsData

Array containing the data for the static fields of the class.


The documentation for this struct was generated from the following file: