6951784: Zero deoptimizer changes

The way Zero currently handles deoptimization can lead to methods being freed while they are still being executed.

Reviewed-by: twisti
This commit is contained in:
Gary Benson 2010-05-12 03:49:52 -07:00 committed by Christian Thalinger
parent 71599d89d4
commit b8491bb9fe
3 changed files with 47 additions and 29 deletions

View file

@ -29,10 +29,10 @@
public:
// Method entries
static void normal_entry(methodOop method, intptr_t UNUSED, TRAPS);
static void native_entry(methodOop method, intptr_t UNUSED, TRAPS);
static void accessor_entry(methodOop method, intptr_t UNUSED, TRAPS);
static void empty_entry(methodOop method, intptr_t UNUSED, TRAPS);
static int normal_entry(methodOop method, intptr_t UNUSED, TRAPS);
static int native_entry(methodOop method, intptr_t UNUSED, TRAPS);
static int accessor_entry(methodOop method, intptr_t UNUSED, TRAPS);
static int empty_entry(methodOop method, intptr_t UNUSED, TRAPS);
public:
// Main loop of normal_entry