![]() |
MySQL 9.3.0
Source Code Documentation
|
Common context for GraalVM Languages. More...
#include <polyglot_common_context.h>
Public Member Functions | |
Polyglot_common_context ()=default | |
virtual | ~Polyglot_common_context ()=default |
virtual void | initialize (const std::vector< std::string > &isolate_args) |
virtual void | finalize () |
poly_reference | engine () const |
poly_isolate | isolate () const |
poly_thread | thread () const |
void | clean_collectables () |
Collectable_registry * | collectable_registry () |
Protected Attributes | |
poly_isolate | m_isolate = nullptr |
poly_thread | m_thread = nullptr |
Private Member Functions | |
void | init_engine () |
virtual void | fatal_error ()=0 |
virtual void | flush ()=0 |
virtual void | log (const char *bytes, size_t length)=0 |
virtual poly_engine | create_engine () |
virtual Garbage_collector::Config | gc_config () |
Static Private Member Functions | |
static void | fatal_error_callback (void *data) |
static void | flush_callback (void *data) |
static void | log_callback (const char *bytes, size_t length, void *data) |
Private Attributes | |
Store | m_engine |
std::unique_ptr< Polyglot_scope > | m_scope |
Collectable_registry | m_registry |
Common context for GraalVM Languages.
Encloses the following global routines/components:
This class can be specialized to:
|
default |
|
virtualdefault |
void shcore::polyglot::Polyglot_common_context::clean_collectables | ( | ) |
|
inline |
|
inlineprivatevirtual |
Reimplemented in jit_executor::CommonContext.
|
inline |
|
privatepure virtual |
Implemented in jit_executor::CommonContext.
|
staticprivate |
|
virtual |
Reimplemented in jit_executor::CommonContext.
|
privatepure virtual |
Implemented in jit_executor::CommonContext.
|
staticprivate |
|
inlineprivatevirtual |
Reimplemented in jit_executor::CommonContext.
|
private |
|
virtual |
Reimplemented in jit_executor::CommonContext.
|
inline |
|
privatepure virtual |
Implemented in jit_executor::CommonContext.
|
staticprivate |
|
inline |
|
private |
|
protected |
|
private |
|
private |
|
protected |