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* |