Moritz Gunz
efe0e76a75
#[derive(Debug)] all the things ( #468 )
...
This commit implements Debug trait for most public structs.
2020-11-18 15:17:25 +01:00
devsnek
405a5a5158
Add APIs to store/retrieve embedder data in a Context or Isolate snapshot ( #449 )
...
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-09-10 02:39:49 +02:00
Bert Belder
d84be8ca2a
SnapshotCreator::GetIsolate()
should have been a const method (#432 )
2020-08-07 18:35:51 +02:00
Bert Belder
3b6ed67f5e
Rewrite the scope system from scratch ( #406 )
2020-06-26 01:42:00 +02:00
Bert Belder
54f6bfe8c1
Reflow comments and strings that exceed the 80-char column limit ( #407 )
2020-06-17 06:15:08 +02:00
Bert Belder
6638b05096
Fix: SnapshotCreator's internal Isolate does not get initialized ( #371 )
2020-05-06 19:26:23 +02:00
Bert Belder
db5bbf6e43
Move 'create_param_allocations' from OwnedIsolate to IsolateAnnex ( #365 )
2020-04-23 20:15:39 +02:00
Bert Belder
05782b846f
Make Isolate take ownership of CreateParams ( #357 )
2020-04-20 21:18:03 +02:00
Bert Belder
d1ac68f0c8
Always use raw pointers to send V8 handles between C++ and Rust ( #349 )
...
And other pointer usage touch-ups on the C++ side:
- const parameters are passed by & reference.
- mutable parameters are passed by * pointer.
2020-04-14 00:34:32 +02:00
Ryan Dahl
32abe84dc6
Remove v8::Locker ( #272 )
...
This patch clarifies that v8::Isolate is a single threaded creature,
which can only be accessed from other threads in special circumstances.
To ensure optimal operation in Deno, we remove v8::Locker, which ought
to be unnecessary when a thread is dedicated to each Isolate and the
Isolates never move between threads.
There are valid use-cases for v8::Locker, and we hope to address them in
future versions of rusty_v8.
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-02-11 17:01:27 -05:00
Bert Belder
e0b8f2d02c
Fix some issues with v8::StartupData ( #178 )
2020-01-04 01:26:27 +01:00
Ry Dahl
19398816ab
SnapshotCreator changes for libdeno ( #176 )
2020-01-03 16:52:05 -05:00
Bert Belder
24286a4d71
Add StartupData constructor ( #156 )
2019-12-31 02:43:27 +01:00
Ry Dahl
6f953179ba
External references for snapshots ( #141 )
2019-12-27 09:12:16 -05:00
Ry Dahl
ce1f74221c
Fix StartupData memory leak ( #131 )
2019-12-25 08:14:55 -05:00
Bartek Iwańczuk
1507a897de
first pass at snapshots ( #122 )
...
Creating a snapshot leaks memory. We will address this in future work.
2019-12-24 08:03:32 -05:00