66 #if defined(ENABLE_JIT)
72 #if defined(ENABLE_JIT)
115 # define ADDR_MASK(a) ((a) & 0x7FFFFFFF)
117 # define ADDR_MASK(a) (a)
179 static bool methodtree_find_failing =
false;
188 log_println(
"We received a SIGSEGV and tried to handle it, but we were");
191 #if SIZEOF_VOID_P == 8
199 if (methodtree_find_failing)
200 vm_abort(
"Exiting without stacktrace...");
202 methodtree_find_failing =
true;
void stacktrace_print_current(void)
java_object_t * asm_vm_call_method(void *pv, uint64_t *array, int32_t stackargs)
bool avl_insert(avl_tree_t *tree, void *data)
void log_println(const char *text,...)
void vm_abort(const char *text,...)
void methodtree_init(void)
void * avl_find(avl_tree_t *tree, void *data)
void asm_vm_call_method_end(void)
void * methodtree_find_nocheck(void *pc)
static int methodtree_comparator(const void *treenode, const void *node)
static avl_tree_t * methodtree
void methodtree_insert(void *startpc, void *endpc)
avl_tree_t * avl_create(avl_comparator *comparator)