mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8302452: [JVMCI] Export _poly1305_processBlocks, JfrThreadLocal fields to JVMCI compiler.
Reviewed-by: dnsimon, never
(cherry picked from commit 4d4eadeae3)
This commit is contained in:
committed by
Vitaly Provodin
parent
930a4e6b13
commit
8a001403c3
@@ -342,6 +342,7 @@ class java_lang_Class : AllStatic {
|
||||
|
||||
class java_lang_Thread : AllStatic {
|
||||
friend class java_lang_VirtualThread;
|
||||
friend class JVMCIVMStructs;
|
||||
private:
|
||||
// Note that for this class the layout changed between JDK1.2 and JDK1.3,
|
||||
// so we compute the offsets at startup rather than hard-wiring them.
|
||||
|
||||
@@ -39,6 +39,7 @@ class JfrThreadLocal {
|
||||
friend class JfrIntrinsicSupport;
|
||||
friend class JfrJavaSupport;
|
||||
friend class JfrRecorder;
|
||||
friend class JVMCIVMStructs;
|
||||
private:
|
||||
jobject _java_event_writer;
|
||||
mutable JfrBuffer* _java_buffer;
|
||||
|
||||
@@ -317,6 +317,7 @@
|
||||
static_field(StubRoutines, _md5_implCompress, address) \
|
||||
static_field(StubRoutines, _md5_implCompressMB, address) \
|
||||
static_field(StubRoutines, _chacha20Block, address) \
|
||||
static_field(StubRoutines, _poly1305_processBlocks, address) \
|
||||
static_field(StubRoutines, _sha1_implCompress, address) \
|
||||
static_field(StubRoutines, _sha1_implCompressMB, address) \
|
||||
static_field(StubRoutines, _sha256_implCompress, address) \
|
||||
@@ -342,6 +343,15 @@
|
||||
\
|
||||
nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \
|
||||
nonstatic_field(Thread, _allocated_bytes, jlong) \
|
||||
JFR_ONLY(nonstatic_field(Thread, _jfr_thread_local, JfrThreadLocal)) \
|
||||
\
|
||||
static_field(java_lang_Thread, _tid_offset, int) \
|
||||
JFR_ONLY(static_field(java_lang_Thread, _jfr_epoch_offset, int)) \
|
||||
\
|
||||
JFR_ONLY(nonstatic_field(JfrThreadLocal, _vthread_id, traceid)) \
|
||||
JFR_ONLY(nonstatic_field(JfrThreadLocal, _vthread_epoch, u2)) \
|
||||
JFR_ONLY(nonstatic_field(JfrThreadLocal, _vthread_excluded, bool)) \
|
||||
JFR_ONLY(nonstatic_field(JfrThreadLocal, _vthread, bool)) \
|
||||
\
|
||||
nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \
|
||||
nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \
|
||||
|
||||
Reference in New Issue
Block a user