#include "vm/global.h"
#include "vm/globals.hpp"
#include "vm/javaobjects.hpp"
+#include "vm/jit/jitcache.hpp"
#include "vm/linker.h"
#include "vm/loader.hpp"
#include "vm/options.h"
if (classname != utf_not_named_yet)
class_set_packagename(c);
+#if defined (ENABLE_JITCACHE)
+ c->cache_file_fd = 0;
+#endif
c->object.header.lockword.init();
s4 i;
vftbl_t *v;
+#if defined(ENABLE_JITCACHE)
+/* TODO: Find a way around the linker problem */
+/* jitcache_freeclass(c);*/
+#endif
+
class_freecpool(c);
if (c->interfaces != NULL)