#include "threads/condition.hpp"
#include "threads/mutex.hpp"
-#include "toolbox/list.h"
-
#include "vm/global.h"
/* for the sable tasuki lock extension */
bool flc_bit;
struct threadobject *flc_list; /* FLC list head for this thread */
+ struct threadobject *flc_tail; /* tail pointer for FLC list */
struct threadobject *flc_next; /* next pointer for FLC list */
java_handle_t *flc_object;
Mutex* flc_lock; /* controlling access to these fields */
#if defined(ENABLE_ESCAPE_REASON)
void *escape_reasons;
#endif
-
- listnode_t linkage; /* threads-list */
- listnode_t linkage_free; /* free-list */
};
// Includes.
#include "mm/memory.h"
-#include "native/localref.h"
+#include "native/localref.hpp"
#include "threads/lock.hpp"
# include "vm/jit/replace.hpp"
#endif
-#include "vm/jit/stacktrace.hpp"
-
#if defined(ENABLE_INTRP)
#include "vm/jit/intrp/intrp.h"
#endif
}
-inline static stackframeinfo_t *threads_get_current_stackframeinfo(void)
+inline static struct stackframeinfo_t* threads_get_current_stackframeinfo(void)
{
return THREADOBJECT->_stackframeinfo;
}
-inline static void threads_set_current_stackframeinfo(stackframeinfo_t *sfi)
+inline static void threads_set_current_stackframeinfo(struct stackframeinfo_t* sfi)
{
THREADOBJECT->_stackframeinfo = sfi;
}