Skip to content
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

8275063: Implementation of Foreign Function & Memory API (Second incubator) #5907

Closed
wants to merge 35 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
bfa1807
Initial push from panama/foreign
mcimadamore Oct 12, 2021
ebab54d
Tweak javadoc for MemeorySegment/MemoryAddress::setUtf8String
mcimadamore Oct 12, 2021
ec9fc3c
Add missing files
mcimadamore Oct 12, 2021
92ff2a5
Drop argument type profiling for removed `MemoryAccess` class
mcimadamore Oct 12, 2021
be0dd36
Fix issues with Aarch64 VaList implementation
mcimadamore Oct 12, 2021
23f6905
Fix TestLinkToNativeRBP test
mcimadamore Oct 12, 2021
d6bf27f
Apply suggestions from code review
mcimadamore Oct 13, 2021
27e71ee
Address review comments
mcimadamore Oct 13, 2021
5ed94c3
* Fix javadoc issue in VaList
mcimadamore Oct 15, 2021
5e02bb6
Add test for liveness check with high-aririty downcalls
mcimadamore Oct 16, 2021
a4db81f
* use `invokeWithArguments` to simplify new test
mcimadamore Oct 16, 2021
5218968
Fix failing microbenchmarks. Contributed by @FrauBoes (thanks!)
mcimadamore Oct 20, 2021
414952a
Fix copyright header in TestArrayCopy
mcimadamore Oct 20, 2021
1570f82
Merge branch 'master' into JEP-419
mcimadamore Oct 21, 2021
5c69eab
Fix regression in VaList treatment on AArch64 (contributed by @nick-arm)
mcimadamore Oct 21, 2021
edf0dc2
Merge branch 'master' into JEP-419
mcimadamore Nov 1, 2021
9b51934
Add cache for memory address var handles
mcimadamore Nov 1, 2021
17f4586
Fix liveness issue with loader lookups
mcimadamore Nov 1, 2021
7cf4fcd
Tweak javadoc of loaderLookup
mcimadamore Nov 1, 2021
51d3ac4
Address API review comments
mcimadamore Nov 2, 2021
1126133
Address impl review comments
mcimadamore Nov 2, 2021
c219ae1
Fix long comment line in Module.java
mcimadamore Nov 2, 2021
7f84727
Simplify ArenaAllocator impl.
mcimadamore Nov 3, 2021
9fafb2a
Make ArenaAllocator impl more flexible in the face of OOME
mcimadamore Nov 3, 2021
b943247
Fix TestUpcall
mcimadamore Nov 3, 2021
ce561e1
* Add two new CLinker static methods to compute upcall/downcall metho…
mcimadamore Nov 5, 2021
350f1f0
Streamline javadoc for package-info
mcimadamore Nov 5, 2021
663e72a
Rename MemorySegment::ofAddressNative to MemorySegment::ofAddress
mcimadamore Nov 5, 2021
2aa126a
Clarify safety considerations for upcalls
mcimadamore Nov 5, 2021
4e3af9f
Further tweak upcall safety considerations
mcimadamore Nov 5, 2021
b1481e3
Revert removal of upcall MH customization
mcimadamore Nov 11, 2021
8c3860f
Merge branch 'master' into JEP-419
mcimadamore Nov 11, 2021
79d3d68
Adopt blessed modofier order
mcimadamore Nov 12, 2021
1817975
Fix javadoc issues found in CSR review
mcimadamore Nov 22, 2021
29cc6c6
Merge branch 'master' into JEP-419
mcimadamore Nov 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -57,8 +57,8 @@ public interface SymbolLookup {
/**
* Obtains a symbol lookup suitable to find symbols in native libraries associated with the caller's classloader
* (that is, libraries loaded using {@link System#loadLibrary} or {@link System#load}). The returned lookup
* returns native symbols backed by a <em>loader scope</em>, a non-closeable, shared scope which keeps the
* caller's classloader <a href="../../../java/lang/ref/package.html#reachability">reachable</a>.
* returns native symbols backed by a non-closeable, shared scope which keeps the caller's classloader
* <a href="../../../java/lang/ref/package.html#reachability">reachable</a>.
* <p>
* This method is <a href="package-summary.html#restricted"><em>restricted</em></a>.
* Restricted methods are unsafe, and, if used incorrectly, their use might crash