Commit c8e00783 authored by Lubomir Bulej's avatar Lubomir Bulej

Request JVMTI tagging capability

This will be needed to tag class loaders.
parent 948b210e
......@@ -760,6 +760,7 @@ Agent_OnLoad (JavaVM * jvm, char * options, void * reserved) {
jvmtiCapabilities caps = {
.can_redefine_classes = 1,
.can_generate_all_class_hook_events = 1,
.can_tag_objects = 1,
};
__jvmti_add_capabilities (jvmti, &caps);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment