Skip to content

Adopt RI java.lang.Thread/ThreadGroup w/ opt_ojdkThreadSupport - #14167

Merged
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:ojdkthread
Jan 6, 2022
Merged

Adopt RI java.lang.Thread/ThreadGroup w/ opt_ojdkThreadSupport#14167
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:ojdkthread

Conversation

@JasonFengJ9

@JasonFengJ9 JasonFengJ9 commented Dec 16, 2021

Copy link
Copy Markdown
Member

Added opt_ojdkThreadSupport flag and decorate the behaviour change w/ J9VM_OPT_OJDK_THREAD_SUPPORT;
Replaced j.l.Thread.threadRef with eetop;
Replaced j.l.Thread.isDaemon with daemon;
Replaced j.l.Thread.runnable with target;
Replaced j.l.Thread.lock with blockerLock;
Replaced j.l.ThreadGroup.numThreads with nthreads;
Replaced j.l.ThreadGroup.numGroups with ngroups;
Replaced j.l.ThreadGroup.childrenThreads with threads;
Replaced j.l.ThreadGroup.childrenGroups with groups;
Replaced j.l.ThreadGroup.isDaemon with daemon;
Updated references accordingly;
Minor refactoring at methods affected.

fyi @pshipton @0xdaryl

Signed-off-by: Jason Feng fengj@ca.ibm.com

Comment thread runtime/jvmti/jvmtiThreadGroup.c Outdated
Comment thread runtime/jvmti/jvmtiThreadGroup.c Outdated
Comment thread runtime/jvmti/jvmtiHelpers.c Outdated
Comment thread runtime/jvmti/jvmtiThreadGroup.c Outdated
Comment thread runtime/jcl/common/mgmtthread.c Outdated
Comment thread runtime/jcl/common/mgmtthread.c Outdated
Comment thread runtime/jcl/common/mgmtthread.c Outdated
Comment thread runtime/jvmti/jvmtiThread.c Outdated
Comment thread runtime/oti/vmconstantpool.xml Outdated
Comment thread runtime/oti/vmconstantpool.xml Outdated
Comment thread runtime/jvmti/jvmtiThreadGroup.c Outdated
Comment thread buildspecs/aix_ppc-64.spec Outdated
@JasonFengJ9
JasonFengJ9 force-pushed the ojdkthread branch 3 times, most recently from 350afdc to 29d36d6 Compare January 5, 2022 14:22
Comment thread runtime/jvmti/jvmtiThreadGroup.c Outdated
Comment thread runtime/jvmti/jvmtiThreadGroup.c Outdated
Added opt_ojdkThreadSupport flag and decorate the behaviour change w/
J9VM_OPT_OJDK_THREAD_SUPPORT;
Replaced j.l.Thread.threadRef with eetop;
Replaced j.l.Thread.isDaemon with daemon;
Replaced j.l.Thread.runnable with target;
Replaced j.l.Thread.lock with blockerLock;
Replaced j.l.ThreadGroup.numThreads with nthreads;
Replaced j.l.ThreadGroup.numGroups with ngroups;
Replaced j.l.ThreadGroup.childrenThreads with threads;
Replaced j.l.ThreadGroup.childrenGroups with groups;
Replaced j.l.ThreadGroup.isDaemon with daemon;
Updated references accordingly;
Minor refactoring at methods affected.


Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@pshipton

pshipton commented Jan 5, 2022

Copy link
Copy Markdown
Member

jenkins test sanity zlinux jdk17

@tajila
tajila merged commit 668a2b1 into eclipse-openj9:master Jan 6, 2022
@JasonFengJ9
JasonFengJ9 deleted the ojdkthread branch April 4, 2022 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:vm jdk-head project:loom Used to track Project Loom related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants