Skip to content

Commit 2f7790e

Browse files
committed
feat(primjs): update to the latest version of primjs and rewrite napi adapter for primjs
Switchs to a simple adapter that is abi stable with primjs updates
1 parent 22496e2 commit 2f7790e

51 files changed

Lines changed: 1635 additions & 12789 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test-app/runtime/src/main/cpp/napi/primjs/code_cache.cc

Lines changed: 0 additions & 261 deletions
This file was deleted.

test-app/runtime/src/main/cpp/napi/primjs/code_cache.h

Lines changed: 0 additions & 108 deletions
This file was deleted.

test-app/runtime/src/main/cpp/napi/primjs/include/gc/allocator.h renamed to test-app/runtime/src/main/cpp/napi/primjs/include/allocator.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ struct malloc_state {
9393
size_t footprint;
9494
size_t max_footprint;
9595
size_t footprint_limit;
96+
size_t outer_heap_size;
97+
size_t gc_info_threshold;
98+
size_t gc_info_interval_size;
9699
flag_t mflags;
97100
#if USE_LOCKS
98101
MLOCK_T mutex;

test-app/runtime/src/main/cpp/napi/primjs/include/quickjs/include/base_export.h renamed to test-app/runtime/src/main/cpp/napi/primjs/include/base_export.h

File renamed without changes.

0 commit comments

Comments
 (0)