| //===- FinalizableProcessor.cpp -------------------------------------------===// |
| //===- Implementation of the FinalizableProcessor class ------------------===// |
| // |
| // The VMKit project |
| // |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #include "debug.h" |
| #include "vmkit/VirtualMachine.h" |
| #include "MMTkObject.h" |
| |
| namespace mmtk { |
| |
| extern "C" void Java_org_j3_mmtk_FinalizableProcessor_clear__ (MMTkObject* P) { |
| UNIMPLEMENTED(); |
| } |
| |
| extern "C" void |
| Java_org_j3_mmtk_FinalizableProcessor_forward__Lorg_mmtk_plan_TraceLocal_2Z (MMTkObject* P, word_t TL, uint8_t nursery) { |
| UNIMPLEMENTED(); |
| } |
| |
| extern "C" void |
| Java_org_j3_mmtk_FinalizableProcessor_scan__Lorg_mmtk_plan_TraceLocal_2Z (MMTkObject* FP, MMTkObject* TL, uint8_t nursery) { |
| vmkit::Thread* th = vmkit::Thread::get(); |
| th->MyVM->scanFinalizationQueue(reinterpret_cast<word_t>(TL)); |
| } |
| |
| } |