-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning #21565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
ccdd279
Allow virtual threads to unmount while holding monitors
pchilano 54813cd
Allow virtual threads to unmount when blocked on synchronized
pchilano 21c3353
Allow virtual threads to unmount when blocked on Object.wait()
pchilano 9baaff9
Test changes + JFR Updates + Library code changes
pchilano 6a81ccd
Add PPC64 support
pchilano 32840de
RISC-V: Avoid return misprediction
pchilano 5c76442
Adjust comment in JavaThread.hpp
pchilano 8c196ac
Adjust spacing in test JfrEvents.java
pchilano 2ddbb3c
Revert and simplify changes to c1_Runtime1 on aarch64 and riscv
pchilano 06f3732
Fix comments in c2 locking paths
pchilano f8616a5
remove usage of frame::metadata_words in possibly_adjust_frame()
pchilano fbd0cad
Fix typo in jvmtiExport.cpp
pchilano 4cec62a
Move frame::saved_thread_address() to platform dependent files
pchilano 23d1a2b
Fix comments in objectMonitor.hpp
pchilano 81e5c6d
Make lea with RIP-relative addressing more general
pchilano b6bc98e
Address David's comments to ObjectMonitor.hpp
pchilano d43c084
Clear oops when thawing lockstack + add thaw_lockstack()
pchilano ab087a5
Fix comment in Thread.java
pchilano e232b7f
Rename timedWaitNonce to timedWaitSeqNo
pchilano baf7ffa
Minor fixes in inc/dec_held_monitor_count on aarch64 and riscv
pchilano 0ebc3e9
Skip printing tid when not available
pchilano 03ba6df
Fix comment in objectMonitor.hpp and javaThread.hpp
pchilano 13353fd
Remove ObjectMonitor::set_owner_from_BasicLock()
pchilano d40d382
Rename nonce/nounce to seqNo in VirtualThread class
pchilano 34362b9
Fix comments in javaThread.hpp and Thread.java
pchilano c7a82c4
Rename set/has_owner_anonymous to set/has_anonymous_owner
pchilano 1785501
Fix JvmtiUnmountBeginMark
pchilano 0308ee4
Add comments for Coleen
pchilano 3479dba
Move condition to new line in nmethod::preserve_callee_argument_oops
pchilano d6313cf
Add/fix comments for David
pchilano 4a9c030
remove interruptible check from conditional in Object::wait
pchilano 66d5385
Restore use of atPointA in test StopThreadTest.java
pchilano 7df17a3
Rename inflating_thread to locking_thread
pchilano 1ff336b
Make member functions in ObjectWaiter const
pchilano c513ae3
add authenticate_return_address() in StubAssembler::epilogue
pchilano 7cb4cff
Simplify set last_sp in prepare_freeze_interpreted_top_frame
pchilano bd918fa
extra suggestion to prepare_freeze_interpreted_top_frame
pchilano 33cf05f
Remove generate_cont_resume_monitor_operation() + comment in ObjectSy…
pchilano fc9aa07
Fix vmStructs definitions
pchilano 056d21e
Fix comment in VThreadWaitReenter
pchilano 3e8b4fe
Improve comment in SharedRuntime::generate_native_wrapper
pchilano e4b0020
add assert in ThawBase::recurse_thaw_interpreted_frame
pchilano 0f3b902
Add comments for Dean + move reload result_handler in generate_native…
pchilano 1b695e5
Fix comment in continuation.hpp
pchilano 9fd4c03
Add klass_name check for is_object_wait0
pchilano 63003d3
Rename oopCont + fix in JvmtiUnmountBeginMark
pchilano 749e30e
Add comment in call_VM_preemptable
pchilano aa682de
SmallRegisterMap::instance() fix + comment typo
pchilano 0951dfe
Fix typos in comments
pchilano e342980
Comments for Dean
pchilano 9f086c5
Add ObjectMonitor::successor() method + use ThreadIdentifier::initial()
pchilano 12213a7
Use frame::sender_sp_offset in continuationFreezeThaw_riscv.inline.hpp
pchilano d09575f
Explicitly pass tmp register to inc/dec_held_monitor_count + use stat…
pchilano c92cb6b
Comment in FreezeBase::recurse_freeze + renames in continuation.hpp
pchilano aa263f5
Remove redundant assert in ObjectMonitor::VThreadEpilog
pchilano 7354f60
Remove assignments in preempt_kind enum
pchilano e5a9ce2
add comment to ThreadService::find_deadlocks_at_safepoint
pchilano 60e4325
Merge branch 'master' into JDK-8338383
pchilano 0f0f71a
Remove oop clearing in transfer_lockstack + pass _barriers as argument
pchilano dac94da
Add comment in X509TrustManagerImpl.java
pchilano 113fb3d
Fix comments for David
pchilano 33eb638
Revert fixes after 8343132
pchilano 52c2664
Use lazySubmitRunContinuation when blocking
pchilano 9752ece
Remove ThawBase::possibly_adjust_frame()
pchilano 1f3cfce
Fix issue with unmounted virtual thread when dumping heap
pchilano 1139631
Update comment block in objectMonitor.cpp
pchilano b3de8f6
Use freeze_result consistently
pchilano fbd43e5
Improve JFR pinned reason in event
pchilano e18b2be
Revert suggestion to ThawBase::new_stack_frame
pchilano b6ed182
Rename waitTimeout/set_waitTimeout accessors
pchilano 79189f9
Add oopDesc::has_klass_gap() check
pchilano 81434a2
Fix s390x failures
pchilano e5c18ba
Fix return miss prediction in generate_native_entry for riscv
pchilano 124efa0
Fixes to JFR metadata.xml
pchilano c0c7e6c
Use ThreadIdentifier::initial() in ObjectMonitor::owner_from()
pchilano 6a3f5f3
Add ReflectionCallerCacheTest.java to test/jdk/ProblemList-Xcomp.txt
pchilano 2001fba
Update comment for _cont_fastpath
pchilano 89d6dc7
Add --enable-native-access=ALL-UNNAMED to SynchronizedNative.java
pchilano 678676a
Move load of _lock_id in C2_MacroAssembler::fast_lock
pchilano 211c6c8
Use is_top_frame boolean in FreezeBase::check_valid_fast_path()
pchilano 37e3017
Use JvmtiVTMSTransitionDisabler::VTMS_vthread_mount/unmount
pchilano f27c59c
Add @requires vm.continuations to CancelTimerWithContention.java
pchilano 5210f0c
Merge branch 'master' into JDK-8338383
pchilano 62b16c6
Use get_method_name + copyright revert in jvmtiThreadState.cpp
pchilano 1814e33
Add ObjectWaiter::at_monitorenter
pchilano 3cdb8f8
Fix in JvmtiEnvBase::get_locked_objects_in_frame()
pchilano 3ce6663
Merge branch 'master' into JDK-8338383
pchilano 97a8a82
Pass -XX:-UseCompactObjectHeaders in test JNIMonitor.java
pchilano 5878759
Test StopThreadTest.java: fix operator in condition + improve names
pchilano 0fe6046
Merge branch 'master' into JDK-8338383
pchilano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.