WeakArrayRegister Class Reference

#include <weakArrayKlass.hpp>

Inheritance diagram for WeakArrayRegister:

Inheritance graph
[legend]
Collaboration diagram for WeakArrayRegister:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static void begin_scavenge ()
static bool scavenge_register (weakArrayOop obj)
static void check_and_scavenge_contents ()
static void begin_mark_sweep ()
static bool mark_sweep_register (weakArrayOop obj, int non_indexable_size)
static void check_and_follow_contents ()

Static Private Member Functions

static void scavenge_contents ()
static bool scavenge_is_near_death (oop obj)
static void scavenge_check_for_dying_objects ()
static void follow_contents ()
static bool mark_sweep_is_near_death (oop obj)
static void mark_sweep_check_for_dying_objects ()

Static Private Attributes

static bool during_registration = false
static GrowableArray< weakArrayOop > * weakArrays = NULL
static GrowableArray< int > * nis = NULL

Detailed Description

Definition at line 73 of file weakArrayKlass.hpp.


Member Function Documentation

void WeakArrayRegister::begin_mark_sweep (  )  [static]

Definition at line 165 of file weakArrayKlass.cpp.

References during_registration, nis, and weakArrays.

Referenced by MarkSweep::mark_sweep_phase1().

void WeakArrayRegister::begin_scavenge (  )  [static]

Definition at line 118 of file weakArrayKlass.cpp.

References during_registration, and weakArrays.

Referenced by Universe::scavenge().

void WeakArrayRegister::check_and_follow_contents (  )  [static]

Definition at line 179 of file weakArrayKlass.cpp.

References during_registration, follow_contents(), mark_sweep_check_for_dying_objects(), nis, and weakArrays.

Referenced by MarkSweep::mark_sweep_phase1().

Here is the call graph for this function:

void WeakArrayRegister::check_and_scavenge_contents (  )  [static]

Definition at line 128 of file weakArrayKlass.cpp.

References during_registration, scavenge_check_for_dying_objects(), scavenge_contents(), and weakArrays.

Referenced by Universe::scavenge().

Here is the call graph for this function:

void WeakArrayRegister::follow_contents (  )  [static, private]

Definition at line 187 of file weakArrayKlass.cpp.

References GrowableArray< E >::at(), nis, MarkSweep::reverse_and_follow(), and weakArrays.

Referenced by check_and_follow_contents().

Here is the call graph for this function:

void WeakArrayRegister::mark_sweep_check_for_dying_objects (  )  [static, private]

Definition at line 203 of file weakArrayKlass.cpp.

References GrowableArray< E >::at(), memOopDesc::mark_as_dying(), mark_sweep_is_near_death(), nis, NotificationQueue::put_if_absent(), and weakArrays.

Referenced by check_and_follow_contents().

Here is the call graph for this function:

bool WeakArrayRegister::mark_sweep_is_near_death ( oop  obj  )  [inline, static, private]

Definition at line 199 of file weakArrayKlass.cpp.

References memOopDesc::is_gc_marked(), and oopDesc::is_mem().

Referenced by mark_sweep_check_for_dying_objects().

Here is the call graph for this function:

bool WeakArrayRegister::mark_sweep_register ( weakArrayOop  obj,
int  non_indexable_size 
) [static]

Definition at line 171 of file weakArrayKlass.cpp.

References during_registration, nis, GrowableArray< E >::push(), and weakArrays.

Referenced by weakArrayKlass::oop_follow_contents().

Here is the call graph for this function:

void WeakArrayRegister::scavenge_check_for_dying_objects (  )  [static, private]

Definition at line 145 of file weakArrayKlass.cpp.

References NotificationQueue::clear_elements(), memOopDesc::mark_as_dying(), NotificationQueue::mark_elements(), NotificationQueue::put(), scavenge_is_near_death(), and weakArrays.

Referenced by check_and_scavenge_contents().

Here is the call graph for this function:

void WeakArrayRegister::scavenge_contents (  )  [static, private]

Definition at line 135 of file weakArrayKlass.cpp.

References weakArrays.

Referenced by check_and_scavenge_contents().

bool WeakArrayRegister::scavenge_is_near_death ( oop  obj  )  [inline, static, private]

Definition at line 140 of file weakArrayKlass.cpp.

References memOopDesc::is_forwarded(), and oopDesc::is_new().

Referenced by scavenge_check_for_dying_objects().

Here is the call graph for this function:

bool WeakArrayRegister::scavenge_register ( weakArrayOop  obj  )  [static]

Definition at line 123 of file weakArrayKlass.cpp.

References during_registration, and weakArrays.

Referenced by weakArrayKlass::oop_scavenge_contents(), and weakArrayKlass::oop_scavenge_tenured_contents().


Member Data Documentation

bool WeakArrayRegister::during_registration = false [static, private]

Definition at line 87 of file weakArrayKlass.hpp.

Referenced by begin_mark_sweep(), begin_scavenge(), check_and_follow_contents(), check_and_scavenge_contents(), mark_sweep_register(), and scavenge_register().

GrowableArray< int > * WeakArrayRegister::nis = NULL [static, private]

Definition at line 89 of file weakArrayKlass.hpp.

Referenced by begin_mark_sweep(), check_and_follow_contents(), follow_contents(), mark_sweep_check_for_dying_objects(), and mark_sweep_register().

GrowableArray< weakArrayOop > * WeakArrayRegister::weakArrays = NULL [static, private]

Definition at line 88 of file weakArrayKlass.hpp.

Referenced by begin_mark_sweep(), begin_scavenge(), check_and_follow_contents(), check_and_scavenge_contents(), follow_contents(), mark_sweep_check_for_dying_objects(), mark_sweep_register(), scavenge_check_for_dying_objects(), scavenge_contents(), and scavenge_register().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:21:51 2006 for Strongtalk VM by  doxygen 1.4.7