Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiEnvBase.cpp @ 4137:04b9a2566eec
Merge with hsx23/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 17 Dec 2011 21:40:27 +0100 |
parents | e6b1331a51d2 |
children | 0ebca2e35ca5 d2a62e0f25eb |
comparison
equal
deleted
inserted
replaced
3737:9dc19b7d89a3 | 4137:04b9a2566eec |
---|---|
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* |