-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
8254231: Implementation of Foreign Linker API (Incubator) #634
Closed
Closed
Changes from 2 commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
dc186e3
RFR 8254162: Implementation of Foreign-Memory Access API (Third Incub…
mcimadamore e4eb2c7
Add modified files
mcimadamore fa051ab
Address review comments
mcimadamore b941c4a
Fix indent in GensrcScopedMemoryAccess.gmk
mcimadamore d96c32a
Address review comments
mcimadamore 9b3fc22
Fix performance issue with "small" segment mismatch
mcimadamore 770b1e9
Tweak referenced to MemoryAddressProxy in Utils.java
mcimadamore 75e406c
Tweak support for mapped memory segments
mcimadamore d14d06a
Simplify example in the toplevel javadoc
mcimadamore 8815d94
Merge branch 'master' into 8254162
mcimadamore 8fb8ff2
Remove spurious check on MemoryScope::confineTo
mcimadamore e866bb2
Merge branch 'master' into 8254162
mcimadamore 4506d75
Merge with master
mcimadamore adcef6a
Add new files
mcimadamore 4f2ed7c
More updates
mcimadamore 8ce0357
Remove rejected file
mcimadamore 7cc344c
Fix whitespaces
mcimadamore 7cf0ef0
Fix more whitespaces
mcimadamore ad8bee1
Merge branch 'master' into 8254231_linker
JornVernee 2184831
Re-add erroneously removed files
JornVernee 830c5ce
Re-add file erroneously deleted (detected as rename)
JornVernee 6c7fef0
Merge branch 'master' into 8254162
JornVernee 28b3e3a
Merge branch 'master' into 8254162
JornVernee 6091ed0
Back-port of TestByteBuffer fix
JornVernee 3167431
Address CSR comments
mcimadamore c595a8d
Use separate constants for native invoker code size
JornVernee aee2245
Update copyright years, and add classpath exception to files that wer…
JornVernee 7d6eadc
Fix incorrect capitalization in one copyright header
JornVernee 502bd98
Merge branch 'master' into 8254231_linker
JornVernee 7cef16f
Don't use JNI when generating native wrappers
JornVernee 8c7b75d
Merge branch 'master' into 8254231_linker
JornVernee e543231
Review comments:
JornVernee 87a55e2
Fix build issues caused by recent refactorings
mcimadamore 8cfd401
Merge branch 'master' into 8254231_linker
mcimadamore dd20288
Remove spurious include
mcimadamore 03dbb52
Fix aarch issues
mcimadamore 9ec4c0e
Fix copyright of AbstractNativeScope
mcimadamore 6aec407
Fix more copyright headers
mcimadamore 3df6cee
And more copyright fixes
mcimadamore 003614a
Fix most review comments
mcimadamore d1c1309
Add missing resource marks before parsing descriptors
JornVernee 33f4143
Simplify AbstractNativeScope::allocate
mcimadamore 7675bbc
Fix CLinker javadoc
mcimadamore 21f5087
Merge pull request #4 from JornVernee/Missing_ResourceMarks
mcimadamore fb355ad
Merge branch '8254231_linker' into No_JNI_Comments_v2
JornVernee 0c89229
Merge pull request #2 from JornVernee/No_JNI_Comments_v2
mcimadamore 2c2d2a7
Fix whitespaces
mcimadamore 5d4c8af
Address review comment for scoped memory access makefile
mcimadamore 697c7ca
Merge branch 'master' into 8254162
mcimadamore dd8896a
Tweak javadoc for MemorySegment::mapFromPath
mcimadamore 41544e3
Merge branch 'master' into 8254162
mcimadamore f844f54
Remove TestMismatch from 32-bit problem list
mcimadamore e43f5d7
* Add final to MappedByteBuffer::SCOPED_MEMORY_ACCESS field
mcimadamore b01af09
More 32-bit fixes for TestLayouts
mcimadamore e3ec6b4
Fix issues with derived buffers and IO operations
mcimadamore 059d3ab
Address CSR feedback
mcimadamore bd40061
Merge branch 'master' into 8254162
mcimadamore 4a2c224
Merge branch '8254162' into 8254231_linker
mcimadamore 9871886
Fix typo in upcall helper for aarch64
mcimadamore 8225bf2
Address comments from @AlanBateman
mcimadamore e2f69ec
Addess remaining feedback from @AlanBateman and @mrserb
mcimadamore 258b400
Merge branch 'master' into 8254162
mcimadamore 02f9e25
Fix post-merge issues caused by 8219014
mcimadamore b38afb3
Merge branch '8254162' into 8254231_linker
mcimadamore 719224c
- Use lazy constant for upcall_info
JornVernee e9606ed
Merge pull request #6 from JornVernee/MoveUpcallInfo
mcimadamore 9960b3d
Address more CSR feedback
mcimadamore bd932cd
remove blank line in thread.hpp
JornVernee 28e7a83
Remove os::is_MP() check
JornVernee 969fb3d
remove excessive asserts in ProgrammableInvoker::invoke_native
JornVernee 033a7c8
Extra space after if
JornVernee 39a040a
Relax ret_addr_offset() assert
JornVernee 1d3a5ca
Sort includes alphabetically
JornVernee bb75026
Check result of AttachCurrentThread
JornVernee 18f0e2d
Set copyright year for added files to 2020
JornVernee 64c3a16
Revert System.java changes
JornVernee efc969d
Merge pull request #7 from JornVernee/Additional_Review_Comments
mcimadamore 2ed0f17
Add ResourceMark to ProgrammableUpcallHandler constructor
JornVernee 56099da
Merge branch 'master' into 8254231_linker
mcimadamore e3d62ee
Fix whitespaces
mcimadamore 0ab509e
Address Vlad's review comments
JornVernee a9384a0
Fix build failure with disabled precompiled headers
mcimadamore cd7d3f7
Fix high arity test for aarch64
mcimadamore 15ab364
Fix crashes on aarch64 due to lack of intrinsics support
mcimadamore 4976e3e
Merge branch '8254231_linker' into Vlad_Comments
JornVernee 9b7cd25
Merge branch 'master' into 8254231_linker
mcimadamore 0f0b972
Simplify print code
JornVernee c8dafc6
- Don't print anything in nmehtod debug output for native invoker if …
JornVernee 739c792
Merge pull request #8 from JornVernee/Vlad_Comments
mcimadamore 7407874
Fix warnings on MSVC
JornVernee 000f75d
Merge pull request #9 from JornVernee/Windows_Warnings
mcimadamore 3999a18
Fix signature mismatch on aarch64
mcimadamore a836cc3
Fix aarch64 test failure
mcimadamore a71d51a
Add `final` modifier on NativeLibraries.defaultLookup
mcimadamore 40bd5df
Merge branch 'master' into 8254231_linker
mcimadamore 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
2 changes: 1 addition & 1 deletion
2
src/java.base/share/classes/jdk/internal/access/foreign/NativeLibraryProxy.java
This file contains 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 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 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/AbstractLayout.java
This file contains 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 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/LibraryLookup.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemorySegment.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/package-info.java
This file contains 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
24 changes: 24 additions & 0 deletions
24
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/AbstractNativeScope.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/LayoutPath.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/LibrariesHelper.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/MemoryAddressImpl.java
This file contains 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 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
6 changes: 4 additions & 2 deletions
6
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/Architecture.java
This file contains 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 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 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
6 changes: 4 additions & 2 deletions
6
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/BufferLayout.java
This file contains 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 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 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 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
6 changes: 4 additions & 2 deletions
6
...k.incubator.foreign/share/classes/jdk/internal/foreign/abi/ProgrammableUpcallHandler.java
This file contains 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
6 changes: 4 additions & 2 deletions
6
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/UpcallHandler.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/UpcallStubs.java
This file contains 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 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.
New files should only have 2020 even though this might have been checked into a branch before. There are a bunch of new files that have old copyrights I noticed.