You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was quite some confusion about terminology around instances
and contexts. All the docs mentioned external contexts but
functions and types were referring to instances, and the relation
between these two concepts were not clear. This commit keeps
(external) context as the only surviving concept.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
Allow user to provide external buffer for jerry instance (which includes an isolated context and heap with other instances), so that user can config the heap size in runtime and run multiple JS apps simultaneously.
117
+
Allow user to provide external buffer for isolated engine contexts, so that user
118
+
can configure the heap size at runtime and run multiple JS applications
119
+
simultaneously.
118
120
119
121
```c
120
122
/**
121
-
* Get the current instance which contains the current context, heap and other
122
-
* structures. Each port should provide its own implementation of this interface.
123
+
* Get the current context of the engine. Each port should provide its own
124
+
* implementation of this interface.
123
125
*
124
126
* Note:
125
127
* This port function is called by jerry-core when
126
128
* JERRY_ENABLE_EXTERNAL_CONTEXT is defined. Otherwise this function is not
0 commit comments