src/share/vm/prims/jvmtiEnvBase.cpp

changeset 3137
e6b1331a51d2
parent 2658
c7f3d0b4570f
child 3900
d2a62e0f25eb
equal deleted inserted replaced
3136:c565834fb592 3137: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*

mercurial