RFR: Export JavaThread::_lock_id, ObjectMonitor::_stack_locker and markWord::marked_value.
Yudi Zheng
yzheng at openjdk.org
Thu Aug 1 15:15:41 UTC 2024
On Mon, 22 Jul 2024 16:00:00 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:
> Essential exports for implementing fibers support in Graal.
src/hotspot/share/jvmci/vmStructs_jvmci.cpp line 224:
> 222: nonstatic_field(JavaThread, _scopedValueCache, OopHandle) \
> 223: nonstatic_field(JavaThread, _anchor, JavaFrameAnchor) \
> 224: nonstatic_field(JavaThread, _lock_id, int64_t) \
These exported fields are used in the inlined monitorenter/exit JIT code, e.g.,
https://github.com/oracle/graal/pull/9366/files#diff-25609d0f9d08c0d8a8e13f1f0b11c996f9fbe3f632a4a099bd1ee634a6748eb3R578-R579
ported from
https://github.com/openjdk/loom/pull/210/files#diff-318d0e76b9a97e8cf8936be1de34e52735c4d947a77cac38babbbf9a081d16fcR540-R542
-------------
PR Review Comment: https://git.openjdk.org/loom/pull/211#discussion_r1700373159
More information about the loom-dev
mailing list