-
Couldn't load subscription status.
- Fork 334
Use foreign memory arena for big bindings cache #13872
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
Draft
Akirathan
wants to merge
32
commits into
develop
Choose a base branch
from
wip/akirathan/13816-bindings-via-arena
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+561
−17
Draft
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
06ae858
Test that second cache serialization fails
Akirathan ab0fc5e
Cache uses native memory Arena
Akirathan 883dc14
Add optional CacheStatistics to EnsoContext
Akirathan 963afda
Use logName instead of entryName
Akirathan 5a14330
Test save of suggestions and bindings caches
Akirathan 24b7c4d
Use hamcrest matchers
Akirathan 58b92e8
Add test for loading caches
Akirathan 822bf5d
Rename test
Akirathan e3a1c36
Test that loading bindings cache of big project should be mmapped
Akirathan 54deef1
refact: extract method
Akirathan cef3885
Test that cache can be saved.
Akirathan 04eaf57
Test global cache save preference
Akirathan 225beaa
More cache tests
Akirathan 3e362b8
Use only primitive bytes
Akirathan f63d3a3
Revert "Use logName instead of entryName"
Akirathan be04961
Revert "Add optional CacheStatistics to EnsoContext"
Akirathan ae1d687
Test caches by collecting logs
Akirathan 4f01c2c
CachedData test class is an empty class.
Akirathan 5bce4bc
Add memory arena validity assert
Akirathan 46b42e5
First close memory arena and then writeBytesTo
Akirathan 8653350
Memory arena must be shared.
Akirathan 2756b69
Cache.invalidate closes memory arena
Akirathan 7cf44a9
Test that memory arena is closed after cache is saved
Akirathan a38623a
Test that byteBuffer from deserialization is read only
Akirathan 74a9fc6
readability is tested via ByteBuffer.get
Akirathan e79df91
Random is not static field
Akirathan 79ecc3c
Test that byteBuffer is closed after cache is invalidated
Akirathan 00e3786
randomBytes is not static method
Akirathan b1bd76a
fmt
Akirathan c7cbcac
Add `-H:+ForeignAPISupport` NI flag
Akirathan 72478c0
New Arena is created before mmap.
Akirathan 1de26ec
Merge branch 'develop' into wip/akirathan/13816-bindings-via-arena
Akirathan 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
3 changes: 2 additions & 1 deletion
3
...e/runner/src/main/resources/META-INF/native-image/org/enso/runner/native-image.properties
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| Args=--features=org.enso.runner.EnsoLibraryFeature | ||
| Args = --features=org.enso.runner.EnsoLibraryFeature \ | ||
| -H:+ForeignAPISupport | ||
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.