#include <jvmti_tags.h>
Public Member Functions | |
TITags () | |
jlong | get (Managed_Object_Handle obj) |
gets tag. | |
void | set (Managed_Object_Handle obj, jlong tag) |
sets tag. | |
void | update (Managed_Object_Handle obj, jlong tag, tag_pair **tptr) |
updates the tag list by either updating tag value, inserting new entry or removing entry | |
void | get_objects_with_tags (std::set< jlong > &tagset, std::list< tag_pair > &objects) |
constructs a list of tagged objects filtered by tag values. | |
void | enumerate () |
enumerates all tagged objects as weak roots | |
void | iterate () |
calls vm_iterate_object for each tagged object | |
void | clean_reclaimed_object_tags (bool send_event, TIEnv *ti_env) |
removes reclaimed objects from tag list, | |
void | clear () |
deletes all tags. |
TITags.TITags | ( | ) |
jlong TITags.get | ( | Managed_Object_Handle | obj | ) |
gets tag.
void TITags.set | ( | Managed_Object_Handle | obj, | |
jlong | tag | |||
) |
sets tag.
Tag value of 0 means remove tag.
void TITags.update | ( | Managed_Object_Handle | obj, | |
jlong | tag, | |||
tag_pair ** | tptr | |||
) |
updates the tag list by either updating tag value, inserting new entry or removing entry
constructs a list of tagged objects filtered by tag values.
[in] | tagset | - the set of tag values to search |
[out] | objects | - the set of found tag-object pairs |
void TITags.enumerate | ( | ) |
enumerates all tagged objects as weak roots
void TITags.iterate | ( | ) |
calls vm_iterate_object for each tagged object
void TITags.clean_reclaimed_object_tags | ( | bool | send_event, | |
TIEnv * | ti_env | |||
) |
removes reclaimed objects from tag list,
send_event | - true means that jvmti_send_object_free_event() will be called for each reclaimed object tag. | |
ti_env | - the pass-through parameter to jvmti_send_object_free_event() |
void TITags.clear | ( | ) |
deletes all tags.
Genereated on Tue Mar 11 19:26:04 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.