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

Snapshot replay #293

Open
wants to merge 80 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
d6a4be7
Implement replay from snapshot
daumayr Nov 23, 2018
1e47a14
revise promise serialization
daumayr Dec 13, 2018
c4f646b
fix frame identity
daumayr Dec 13, 2018
ea7e57f
fix synchronisation issue in SnapshotRecord
daumayr Dec 13, 2018
8dff052
fix promise ownership
daumayr Dec 14, 2018
4d66164
make counting work
daumayr Dec 14, 2018
a58740f
fix empty array
daumayr Dec 14, 2018
59e2dc7
fix nullpointer when actor is not in trace
daumayr Dec 14, 2018
b903569
fix promise message arg0
daumayr Dec 17, 2018
c16ebb5
fix owner and deserialization
daumayr Dec 17, 2018
6ebcbb5
SavinaSnap
daumayr Dec 17, 2018
01d7981
fix todo
daumayr Dec 17, 2018
a11d8ee
add test script
daumayr Dec 17, 2018
e8182cc
Message Location Fix
daumayr Dec 20, 2018
ce7f7ce
keep track of promise messages
daumayr Dec 20, 2018
daeda0b
message location part 2
daumayr Dec 20, 2018
6c4ffc5
promise changes
daumayr Dec 20, 2018
ef9febc
fix execute race
daumayr Dec 20, 2018
22812a2
fix deserialization circles
daumayr Dec 20, 2018
2c53507
fix empty array deserialization
daumayr Dec 20, 2018
831601d
change class enclosure handling
daumayr Dec 20, 2018
9926f6b
SavinaSnap changes
daumayr Dec 20, 2018
966e3da
improve snapshot replay output
daumayr Dec 20, 2018
fb3d14e
avoid race
daumayr Dec 20, 2018
aa2bf3c
Move snapshotting into ReceivedRootNode
smarr Dec 17, 2018
9c77462
Pass thread object explicitly to recordActorContext
smarr Dec 17, 2018
2dbb024
Added @TruffleBoundary to some map-related methods
smarr Dec 17, 2018
d675641
Added comment on Types.getClassOf to link it to ClassPrim
smarr Dec 17, 2018
4800d9d
Use castExact to avoid issue with non-leaf class cast
smarr Dec 18, 2018
a41e852
MessageSerializationNode: extract processArguments
smarr Dec 18, 2018
75e89c0
Remove EventualMessage.serialize and do directly in RRN
smarr Dec 18, 2018
73f2b42
Optimize MessageSerializationNode
smarr Dec 18, 2018
b386712
Turn ClassPrim into optimized node to get a class object
smarr Dec 18, 2018
4d9275e
Profile the class of a message in ReceivedRootNode
smarr Dec 18, 2018
d2a64e5
Added helper to be able to put map.get behind boundary
smarr Dec 18, 2018
e59e133
Explode the doArguments loop
smarr Dec 18, 2018
b3a5079
Make SnapshotRecord
smarr Dec 18, 2018
f43a3aa
Restructure MessageSerializationNode.doArguments()
smarr Dec 18, 2018
960b450
Use CachedSerializationNode in MessageSerializationNode
smarr Dec 19, 2018
4cb4ff5
Added transferToInterpreterAndInvalidate to OSN.serialize
smarr Dec 19, 2018
d9442d0
Fix lint issue
smarr Dec 20, 2018
69cf83d
Update dym expected results
smarr Dec 20, 2018
c8ecf64
Rename todo to deferredSerialization and similar
smarr Dec 20, 2018
123c7f1
Added compiler assertions for debugging
smarr Dec 20, 2018
88e3254
Make explicit that object layout assumption is about latest layout
smarr Dec 20, 2018
e8acdca
Rewrite CachedSerializationNode to support multiple elements
smarr Dec 20, 2018
cf4dd70
[HACK] put boundaries for things we don’t want to handle at the moment
smarr Dec 20, 2018
6c87749
Fix sysout checkstyle issues
smarr Dec 20, 2018
e24c305
Remove clazz and clazzFact from serialization nodes
smarr Dec 21, 2018
3f8db91
Put setDummyClassFactory behind SNAPSHOTS_ENABLED
smarr Dec 21, 2018
393178e
Keep main thread registered for snapshot inflation
daumayr Jan 11, 2019
435f598
Fix DeserializationBuffer
daumayr Jan 11, 2019
541cea4
avoid double chaining of promises in snapshot replay
daumayr Jan 21, 2019
3b66170
fix message deserialization
daumayr Jan 21, 2019
ab370c0
Serialise result promises of messages executed when snapshot started
daumayr Jan 21, 2019
5a8933b
avoid restoring PromiseMessages twice
daumayr Jan 21, 2019
43dd97e
fix restored PromiseMessages not having valid targets
daumayr Jan 21, 2019
7a92d97
Unresolve result promise of constructor messages
daumayr Jan 21, 2019
34f8c0d
Fix Message Serialization
daumayr Jan 21, 2019
9a7463b
cleanup in SnapshotParser
daumayr Jan 21, 2019
e92dd4d
Reuse SnapshotRecord in ObjectSerializationNode
daumayr Jan 21, 2019
c086656
Assert Messages are not serialised twice
daumayr Jan 21, 2019
670360c
Fix PromiseSerializationNodes
daumayr Jan 21, 2019
4f103ad
Fix MessageSerialization
daumayr Jan 21, 2019
aa350a6
Improve output for debugging replay
daumayr Jan 21, 2019
10ec1d9
Resolving promises from snapshot now avoids message duplication
daumayr Jan 21, 2019
55d88b6
Fix UnsupportedSpecializationException in CachedSerializationNode
daumayr Jan 21, 2019
42dd4e4
Fix re-resolution in snapshot replay
daumayr Jan 21, 2019
669aad8
clean Record on new snapshot
daumayr Jan 21, 2019
eca20b5
update snapshot-replay test
daumayr Jan 21, 2019
223e225
Add TruffleBoundary for getting source URI
daumayr Jan 22, 2019
5fb533c
Cant create nodes from compiled code
daumayr Jan 22, 2019
8e9c8b4
Cant get frame slots from compiled code
daumayr Jan 22, 2019
1ae28ab
Fix Memory Leak
daumayr Jan 25, 2019
5201e9c
allow snapshots independent from tracing
daumayr Feb 6, 2019
eb1d7b6
Go from Biconsumer back to DataSource
daumayr Feb 8, 2019
8ddc1f9
parameterise snapshot inlining depth
daumayr Feb 8, 2019
571b0cb
small fixes
daumayr Feb 8, 2019
893920f
remove empty line
daumayr Feb 13, 2019
0c9b1b6
cleanup
daumayr Feb 13, 2019
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
11 changes: 10 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@
<arg value="-at" />
<arg value="-tas" />
<arg value="${corelib.dir}/TestSuite/TestRunner.ns" />
<arg value="${corelib.dir}/TestSuite/Serialization.ns" />
<arg value="${corelib.dir}/TestSuite/Serialization.ns" />
<arg value="SerializationTest" />
</exec>
<travis target="serialization-tests" />
Expand Down Expand Up @@ -446,6 +446,15 @@
<travis target="replay-tests" />
</target>

<target name="snapshot-replay-tests" depends="">
<exec executable="tests/snapshot-replay/test.sh" failonerror="true">
<arg value="1" />
</exec>
<exec executable="tests/snapshot-replay/test.sh" failonerror="true">
<arg value="2" />
</exec>
</target>

<target name="snapshot-tests" depends="compile">
<travis target="snapshot-tests" start="Tests Snapshotting" />
<exec executable="tests/snapshot/test.sh" failonerror="true">
Expand Down
Loading