Sami Vaarala
0659b7bc86
Releases: duk_push_buffer_object() buffer values
9 years ago
Sami Vaarala
fae203ad36
API testcase update for duk_push_buffer_object()
9 years ago
Sami Vaarala
c8cbf2c10c
Accept any buffer-like in duk_push_buffer_object()
9 years ago
Sami Vaarala
61a49e35de
Merge pull request #480 from svaarala/fix-dddprint-cast-qual
Fix -Wcast-qual warnings for DDDPRINTs
9 years ago
Sami Vaarala
df36995118
Fix -Wcast-qual warnings for DDDPRINTs
9 years ago
Sami Vaarala
5acfdb4b05
Merge pull request #477 from svaarala/testcase-outofmemory-unwind-gh476
Add testcase for out-of-memory unwind (GH-476)
9 years ago
Sami Vaarala
5778737d06
Add testcase for out-of-memory unwind (GH-476)
9 years ago
Sami Vaarala
c6210e3b4d
Merge pull request #475 from svaarala/executor-doc-additions
Add some executor doc value stack notes
9 years ago
Sami Vaarala
05d248c8a1
Add some executor doc value stack notes
Cleaned up text from very old design notes.
9 years ago
Sami Vaarala
f777103427
Merge pull request #473 from svaarala/avoid-finalizer-rerun
Avoid finalizer rerun unless object is rescued
9 years ago
Sami Vaarala
f2e5378d96
Releases: stronger finalizer guarantee
9 years ago
Sami Vaarala
5dc85e9b4f
Internal doc note on finalizer guarantee
9 years ago
Sami Vaarala
04e99f2d4b
Website finalizer re-entry related changes
9 years ago
Sami Vaarala
e8470f8c04
Testcases for finalizer re-entry related changes
9 years ago
Sami Vaarala
081fb26a8a
Finalizer guarantee: run once per rescue cycle
- Set FINALIZED only when actually running finalizer to prevent
a finalizer running twice unless explicitly rescued (and the
flag cleared by the rescuing mark-and-sweep or refzero code).
- Add a guard to avoid re-finalizing until FINALIZED is explicitly
cleared on rescue by either mark-and-sweep or refcounting.
- Prevent mark-and-sweep and refzero from running when heap is
destroyed and finalizers are forcibly executed.
- Add a mark-and-sweep flag to skip finalizers: move any finalizable
objects back to heap_allocated. This is needed for correct
finalizer handling in heap destruction.
- Add second finalizer argument; if true, it indicates that the
heap is being destroyed and rescuing an object is not possible.
Finalizer should therefore free all native resources without
relying on the finalizer to be called again.
- Add multiple finalizer rounds for heap destruction to deal with
finalizers which create further finalizable objects. Also add
a sanity limit for this process to catch runaway finalizers.
- Explicit Proxy check just before running finalizer: don't run
finalizer for Proxy objects even when call site is buggy.
Src fiexs
9 years ago
Sami Vaarala
68e806bbc0
Merge pull request #472 from svaarala/add-sharedlibrary-example
Add Makefile.sharedlibrary example
9 years ago
Sami Vaarala
4031c17bc6
Add Makefile.sharedlibrary example
9 years ago
Sami Vaarala
6f98d5eb63
Merge pull request #411 from svaarala/regexp-canonicalize-lookup
Add an optional 128kB lookup to optimize regexp canonicalization
9 years ago
Sami Vaarala
0f3ea4a60b
Releases: regexp canon workaround
9 years ago
Sami Vaarala
50e22c1a9c
Fix a few compile warnings
9 years ago
Sami Vaarala
243e14af23
Commented out regexp canon workaround in Makefile
9 years ago
Sami Vaarala
7439a589f6
Dist changes
9 years ago
Sami Vaarala
be0d29f582
Perf test for regexp canonicalize
9 years ago
Sami Vaarala
a38b8cd01d
Faster regexp canonicalization using a lookup
9 years ago
Sami Vaarala
c66fe7b2e4
RegExp canon workaround config option
9 years ago
Sami Vaarala
c0081e1d80
Merge pull request #471 from svaarala/perf-hex-base64-tweaks
Faster hex handling in JX/JC, other minor tweaks
9 years ago
Sami Vaarala
12c617c0bd
Releases: hex fastpath for JX/JC
9 years ago
Sami Vaarala
429daa0664
Test case for JX hex encoding/decoding
9 years ago
Sami Vaarala
3a5f26335c
Perf test improvements for hex encode/decode
9 years ago
Sami Vaarala
dea2e4d007
Hex encode/decode and other codec improvements
- Faster hex decode invalid input check for duk_hex_decode() fast path
- Faster JX/JC hex encode
- Slightly faster JX/JC hex decode (avoid string intern for temp value)
- Relocate decode tables, they may be useful in other files later
- Loop typing changes
9 years ago
Sami Vaarala
432107b0ff
Merge pull request #462 from svaarala/syntax-error-augment-change
Move compiler error (usually SyntaxError) error message handling to error augmentation
9 years ago
Sami Vaarala
762acc2cb0
Merge pull request #470 from svaarala/perf-base64-revise-encode
Minor base64 fast path improvement
9 years ago
Sami Vaarala
34099b05bb
Perf test improvements
9 years ago
Sami Vaarala
13af94da67
Minor base64 encode improvement
9 years ago
Sami Vaarala
7e662098e6
Merge pull request #467 from svaarala/perf-hex-lookup-tables
Add hex encode/decode fast path
9 years ago
Sami Vaarala
e0006d1add
Releases: hex fastpath
9 years ago
Sami Vaarala
0b66c6bf17
Reduce runtests thread count to avoid timeouts
9 years ago
Sami Vaarala
28ff4b2a3a
Testcases to exercise hex encode/decode fast paths
9 years ago
Sami Vaarala
ced0e83d58
Perf test updates for hex enc/dec fast path
9 years ago
Sami Vaarala
dc2b52ba8e
Add hex encode/decode fast path using lookups
9 years ago
Sami Vaarala
03a77e2051
Config options for hex enc/dec fastpath
9 years ago
Sami Vaarala
f4ec57b8a6
Merge pull request #465 from svaarala/perf-base64-lookup-tables
Add base64 encode/decode fast path
9 years ago
Sami Vaarala
5efea5ee2c
Releases: base64 whitespace in padding fix
9 years ago
Sami Vaarala
e6c804e864
Releases: base64 fastpath
9 years ago
Sami Vaarala
defbb907d0
Test cases for base64 enc/dec with more coverage
9 years ago
Sami Vaarala
aacdaf13d1
Perf tests for base64
9 years ago
Sami Vaarala
52cb9e2961
Config option for base64 fast path
9 years ago
Sami Vaarala
2a43bac8b3
Add base64 encode/decode fast path
9 years ago
Sami Vaarala
3000e758ef
Bug testcase for whitespace inside base64 padding
9 years ago
Sami Vaarala
7f5d1df74e
Merge pull request #464 from svaarala/fix-license-spdx-year
Fix license.spdx year range
9 years ago