mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
7086585: make Java field injection more flexible
Reviewed-by: jrose, twisti, kvn, coleenp
This commit is contained in:
parent
1ebca30d26
commit
e39ba1a5fe
39 changed files with 1073 additions and 991 deletions
|
@ -565,15 +565,6 @@ JvmtiEnvBase::get_JavaThread(jthread jni_thread) {
|
|||
}
|
||||
|
||||
|
||||
// update the access_flags for the field in the klass
|
||||
void
|
||||
JvmtiEnvBase::update_klass_field_access_flag(fieldDescriptor *fd) {
|
||||
instanceKlass* ik = instanceKlass::cast(fd->field_holder());
|
||||
typeArrayOop fields = ik->fields();
|
||||
fields->ushort_at_put(fd->index(), (jushort)fd->access_flags().as_short());
|
||||
}
|
||||
|
||||
|
||||
// return the vframe on the specified thread and depth, NULL if no such frame
|
||||
vframe*
|
||||
JvmtiEnvBase::vframeFor(JavaThread* java_thread, jint depth) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue