/* src/vm/hook.hpp - hook points inside the VM
- Copyright (C) 2009
+ Copyright (C) 2009, 2010
CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
This file is part of CACAO.
#define _HOOK_HPP
#include "config.h"
+#include "vm/globals.hpp"
#if defined(ENABLE_OPAGENT)
#include "vm/jit/oprofile-agent.hpp"
inline void Hook::class_linked(classinfo *c)
{
- /* nop */
+ if (c == class_java_lang_String)
+ linker_initialize_deferred_strings();
}
inline void Hook::class_loaded(classinfo *c)