Mercurial > hg > truffle
diff src/share/vm/prims/jvmtiEnvBase.cpp @ 3938:e6b1331a51d2
7086585: make Java field injection more flexible
Reviewed-by: jrose, twisti, kvn, coleenp
author | never |
---|---|
date | Sat, 10 Sep 2011 17:29:02 -0700 |
parents | c7f3d0b4570f |
children | 0ebca2e35ca5 d2a62e0f25eb |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnvBase.cpp Sat Sep 10 00:11:04 2011 -0700 +++ b/src/share/vm/prims/jvmtiEnvBase.cpp Sat Sep 10 17:29:02 2011 -0700 @@ -565,15 +565,6 @@ } -// 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) {