-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8315884: New Object to ObjectMonitor mapping #20067
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
79 commits
Select commit
Hold shift + click to select a range
4d835b9
8315884: New Object to ObjectMonitor mapping
xmas92 2814350
More graceful JVMCI VM option interaction
xmas92 c824d2f
Revert "More graceful JVMCI VM option interaction"
xmas92 173b75b
Add JVMCI symbol exports
xmas92 ccaaef1
Update JavaThread::om_clear_monitor_cache
xmas92 700188c
Update LightweightSynchronizer::get_or_insert_monitor assert
xmas92 0b5088b
Update LightweightSynchronizer::exit assert
xmas92 d4a96a3
Fix BasicLock::object_monitor_cache() for other platforms
xmas92 d12aa5f
Add comment LightweightSynchronizer::inflate_locked_or_imse
xmas92 b0eef6e
Add missing inline qualifiers
xmas92 31503f5
Remove unused variable
xmas92 4fe8d4f
Fix typos
xmas92 a207544
Add extra comments in LightweightSynchronizer::inflate_fast_locked_ob…
xmas92 15997bc
Update arguments.cpp
xmas92 e1eb8c9
Cleanup c2 cache lookup
xmas92 cccffed
Avoid uniform initialization
xmas92 f92989f
Fix javaThread include
xmas92 e4786be
Remove strange comment
xmas92 00eef5c
Remove logStream include
xmas92 f43d547
Remove outdated comment LightweightSynchronizer::exit
xmas92 97e0c21
Fix indentation
xmas92 32884a5
Update assert message OMCache::set_monitor
xmas92 8cb27f1
Remove unused include
xmas92 076febb
Remove superfluous access specifier
xmas92 33447f9
Add explicit to single parameter constructors
xmas92 ebf1154
Remove try_read
xmas92 5ea4496
Merge tag 'jdk-24+10' into JDK-8315884
xmas92 a9d66a6
Revert instanceKlass.cpp comment change
xmas92 3515ecc
Rename _table_count to _items_count
xmas92 1c56bf8
Remove unnecessary assert
xmas92 517c300
Use [inc/dec]_no_safepoint_count directly instead of a conditionally …
xmas92 a8cf38a
Remove const for InflateCause parameters in lightweightSynchronizer
xmas92 1557468
Update comment basicLock.hpp
xmas92 a83e728
Rename ObjectMonitorWorld to ObjectMonitorTable
xmas92 937f531
Inline _table
xmas92 92a8836
Remove extra whitespace in UseObjectMonitorTableTest.java
xmas92 d020bc9
Missing DEBUG_ONLY
xmas92 38402a5
Remove top comment
xmas92 b96b916
Merge remote-tracking branch 'upstream_jdk/master' into JDK-8315884
xmas92 53f833b
Remove object_is_cleared
xmas92 1423871
Revert "Inline _table"
xmas92 651d64c
Make ObjectMonitorTable AllStatic
xmas92 123a268
Remove _omworld
xmas92 41fc859
Rename omworldtable_work to object_monitor_table_work
xmas92 7946d14
Remove the last OMWorld references
xmas92 68681c8
Whitespace and nits
xmas92 41ac7d3
Fix items count
xmas92 7afd245
Cleanup bytecodeInterpreter.cpp comments
xmas92 e5e47f4
Remove unnecessary assert
xmas92 690f72a
Update basicLock.inline.hpp comment
xmas92 c1649c7
Update globals.hpp flag description
xmas92 5678569
Change parameter order LightweightSynchronizer::remove_monitor
xmas92 bc74495
Fix lightweightSynchronize.hpp access modifier indentation
xmas92 e0928e5
Make lightweightSynchronizer::inflate* parameter order consistent
xmas92 c2a6d13
Fix lightweightSynchronizer.cpp include order
xmas92 15457aa
Remove extra include lightweightSynchronizer.cpp
xmas92 28ede7a
Fix lightweightSynchronizer.cpp access modifier indentation
xmas92 528e33b
lightweightSynchronizer.cpp add space between operator and operands
xmas92 9708828
Put `new ConcurrentTable` arguments on same line
xmas92 38a03e7
Update verify_monitor_get_result assert text
xmas92 24e78d1
Update ObjectMonitorTable::should_shrink comment
xmas92 7aa0919
Update logging and printing format
xmas92 354a651
lightweightSynchronizer.cpp add space between operator and operands
xmas92 f3fde37
Fix comment lightweightSynchronizer.cpp
xmas92 bed7676
lightweightSynchronizer.cpp fix whitespace
xmas92 f0e1154
Fix lockStack.hpp access modifier indentation
xmas92 b5114ff
Fix objectMonitor.hpp access modifier indentation
xmas92 488a658
Fix merge else if scopes ObjectMonitor::deflate_monitor
xmas92 1ecd964
Update `ObjectMonitor::install_displaced_markword_in_object` assert text
xmas92 09bda30
Fix serviceThread.cpp include order
xmas92 40fc395
Fix quick_enter parameter order
xmas92 0bf63df
Update `ObjectSynchronizer::FastHashCode` comment
xmas92 48d247d
Fix whitespace synchronizer.{inline.hpp,cpp}
xmas92 580e809
Revert monitors_used_above_threshold changes
xmas92 362f564
Fix test_objectMonitor.cpp indent
xmas92 b86dfd1
Align comment LockUnlock.java
xmas92 3f29e6d
Add and print random seed UseObjectMonitorTableTest.java
xmas92 4d67422
Use jdk.test.lib.Utils.getRandomInstance()
xmas92 e287445
Remove newline
xmas92 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the declaration:
it looks odd to pass
disp_hdrhere - is that variable just mis-named?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, because the BasicLock and display header / metadata in BasicLock are all on the same address so they have been used interchangeably in c1,c2 and the interpreter. It should probably be fixed. But maybe in a separate PR.