-
Notifications
You must be signed in to change notification settings - Fork 323
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
Store whole IR.Module in .bindings cache #8924
Merged
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
6803429
Store whole IR.Module in .bindings cache
JaroslavTulach 20416bf
Shield against NPE
JaroslavTulach 3331219
Nicer formatting
JaroslavTulach 8dfcac9
Using ByteBuffer instead of byte[] in caches
JaroslavTulach 05858a6
Let Persistace.read accept ByteBuffer
JaroslavTulach 7be0865
Reading the cache in as MappedByteBuffer
JaroslavTulach ba07db8
Clarity: Splitting Cache API and SPI into separate classes
JaroslavTulach 6a10a20
Single throws ClassNotFoundException is enough
JaroslavTulach b7fd968
Replace writable Cache fields with methods in Spi
JaroslavTulach e570e37
Cache is a final class
JaroslavTulach 667260c
No need for special Impl inner classes
JaroslavTulach 22ac510
No need for Cache.Metadata interface
JaroslavTulach c40bc2f
Eliminate one need for SerializationManager.apply
JaroslavTulach 09abdc0
Less calls to serializationManager.deserialize
JaroslavTulach 300972d
Introducing SerializationPool to deal with threading of Serialization…
JaroslavTulach 0f53896
Let SerializationPool use QualifiedName as key
JaroslavTulach bb1272d
Removing Thread.sleep from Serialization manager code
JaroslavTulach 570cfcd
Moving implementation of serializeModule to TruffleCompilerContext
JaroslavTulach fdfa387
Moving serializeLibrary into TruffleCompilerContext
JaroslavTulach 9efb654
Moving doSerializeModule into TruffleCompilerContext
JaroslavTulach 3d3b453
deserializeModule moved to TruffleCompilerContext
JaroslavTulach a960069
Rewriting doSerializeLibrary & co. to Java
JaroslavTulach 4b75e45
Removing remaining methods from SerializationManager.scala
JaroslavTulach f9982cf
Removing SerializationManager
JaroslavTulach 47c28da
Adjusting tests to removed SerializationManager
JaroslavTulach d663e06
Use asSpi to extract cache implementation in tests
JaroslavTulach 44471d2
Merging with DiagnosticFormatter
JaroslavTulach a471e6a
Only log when Standard library IR file is loaded
JaroslavTulach 8b26678
Thread.join to ensure threads are gone
JaroslavTulach ba32efb
Thread.join all threads before closing the context
JaroslavTulach 5a99f95
SuggestionsCache needs InputStream over buffer
JaroslavTulach 58b5078
Compose the results
JaroslavTulach 77b1369
Merge branch 'develop' into wip/jtulach/CachePerLibrary_8639
mergify[bot] 1577744
Use underscore
JaroslavTulach c729c74
There is no library name anymore as deserializeSuggestions method cha…
JaroslavTulach 947824e
When recovering from deserialization IOException, don't useCaches whe…
JaroslavTulach c061494
Only mmap files larget than 3MB - e.g. mostly .bindings files
JaroslavTulach bbd6d99
Don't generate .ir files when compiling a library. They are stored in…
JaroslavTulach 76f47a7
Make sure the stacktrace isn't lost
JaroslavTulach 11776a6
Compute suggestions first before (possibly) overriding .bindings file
JaroslavTulach 5a4bfa9
Improving javadoc & co.
JaroslavTulach a2b2945
Avoid using caches when reparsing
JaroslavTulach 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
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.
Don't use caches to avoid this NPE.