Skip to content

Prototype Continuation caching - #17344

Merged
babsingh merged 1 commit into
eclipse-openj9:masterfrom
fengxue-IS:cacheContinuation
May 11, 2023
Merged

Prototype Continuation caching#17344
babsingh merged 1 commit into
eclipse-openj9:masterfrom
fengxue-IS:cacheContinuation

Conversation

@fengxue-IS

Copy link
Copy Markdown
Contributor
  • Single per thread local cache to reduce need of alloc/free
  • Add globalContinuationCacheArray for second tier caching

Signed-off-by: Jack Lu Jack.S.Lu@ibm.com

@tajila
tajila requested a review from babsingh May 9, 2023 13:39
@fengxue-IS
fengxue-IS marked this pull request as ready for review May 9, 2023 22:30
@fengxue-IS fengxue-IS added perf project:loom Used to track Project Loom related work comp:vm labels May 9, 2023
@tajila tajila added this to the Java 20.0.1 0.39 milestone May 10, 2023
Comment thread runtime/vm/ContinuationHelpers.cpp Outdated
Comment thread runtime/oti/j9nonbuilder.h Outdated
Comment thread runtime/jcl/common/stdinit.c Outdated
Comment thread runtime/jcl/common/stdinit.c Outdated
Comment thread runtime/vm/ContinuationHelpers.cpp Outdated
Comment thread runtime/vm/ContinuationHelpers.cpp Outdated
Comment thread runtime/oti/vm_api.h Outdated
Comment thread runtime/vm/ContinuationHelpers.cpp Outdated
Comment thread runtime/vm/ContinuationHelpers.cpp Outdated
Comment thread runtime/oti/vm_api.h Outdated
@fengxue-IS
fengxue-IS force-pushed the cacheContinuation branch 2 times, most recently from 27966ff to 6ed2e6a Compare May 11, 2023 15:46
@fengxue-IS
fengxue-IS requested a review from babsingh May 11, 2023 15:53
@fengxue-IS

Copy link
Copy Markdown
Contributor Author

Updated comment/format as suggestd. Per discussion, deferring perf optimization to future work.

- Single per thread local cache to reduce need of alloc/free
- Add globalContinuationCacheArray for second tier caching

Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
@fengxue-IS
fengxue-IS force-pushed the cacheContinuation branch from 6ed2e6a to 23a29a0 Compare May 11, 2023 17:29
@babsingh

Copy link
Copy Markdown
Contributor

jenkins test sanity,sanity.openjdk alinux64 jdk20

@babsingh

Copy link
Copy Markdown
Contributor

@tajila Changes LGTM; started the PR builds; let us know if you have any feedback.

@tajila

tajila commented May 11, 2023

Copy link
Copy Markdown
Contributor

LGTM

@babsingh
babsingh merged commit 8aa8676 into eclipse-openj9:master May 11, 2023
Comment thread runtime/gc_base/GCExtensions.cpp
@fengxue-IS

Copy link
Copy Markdown
Contributor Author

No virtual thread related test failure seen in last nightly build, will open a PR to backport this change to 0.39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:vm perf project:loom Used to track Project Loom related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants