Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Preload attribute is renamed to LoadableDescriptors in Valhalla #12

Closed
GioChkhaidze opened this issue Jun 10, 2024 · 2 comments
Closed

Comments

@GioChkhaidze
Copy link
Collaborator

See the latest spec;

The Preload attribute (eclipse-openj9/openj9#17233) is now renamed to LoadableDescriptors.

Also the Preload attribute has the following format:

Preload_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_classes;
u2 classes[number_of_classes];
}
The LoadableDescriptors attribute has the following format:

LoadableDescriptors_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_descriptors;
u2 descriptors[number_of_descriptors];
}
Each entry in the descriptors array must be a valid index into the constant_pool table. The constant_pool entry at that index must be a CONSTANT_Utf8_info structure representing a valid field descriptor.

Instead of CONSTANT_Class_info used in Preload, LoadableDescriptors uses field descriptor.

@GioChkhaidze
Copy link
Collaborator Author

wow

Copy link

Recommended Components: comp:vm, comp:gc, comp:build
Recommended Developers: hangshao0, tajila, babsingh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants