comparison 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
comparison
equal deleted inserted replaced
3937:c565834fb592 3938:e6b1331a51d2
560 return NULL; 560 return NULL;
561 } 561 }
562 // The following returns NULL if the thread has not yet run or is in 562 // The following returns NULL if the thread has not yet run or is in
563 // process of exiting 563 // process of exiting
564 return java_lang_Thread::thread(t); 564 return java_lang_Thread::thread(t);
565 }
566
567
568 // update the access_flags for the field in the klass
569 void
570 JvmtiEnvBase::update_klass_field_access_flag(fieldDescriptor *fd) {
571 instanceKlass* ik = instanceKlass::cast(fd->field_holder());
572 typeArrayOop fields = ik->fields();
573 fields->ushort_at_put(fd->index(), (jushort)fd->access_flags().as_short());
574 } 565 }
575 566
576 567
577 // return the vframe on the specified thread and depth, NULL if no such frame 568 // return the vframe on the specified thread and depth, NULL if no such frame
578 vframe* 569 vframe*