diff options
Diffstat (limited to 'src/gc/sample/GCSample.cpp')
-rw-r--r-- | src/gc/sample/GCSample.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gc/sample/GCSample.cpp b/src/gc/sample/GCSample.cpp index 7ae6c2d115..446956110a 100644 --- a/src/gc/sample/GCSample.cpp +++ b/src/gc/sample/GCSample.cpp @@ -26,11 +26,11 @@ // static void SuspendEE(SUSPEND_REASON reason); // static void RestartEE(bool bFinishedGC); //resume threads. // -// * Enumeration of threads that are running managed code: -// static Thread * GetThreadList(Thread * pThread); +// * Enumeration of thread-local allocators: +// static void GcEnumAllocContexts (enum_alloc_context_func* fn, void* param); // -// * Scanning of stack roots of given thread: -// static void ScanStackRoots(Thread * pThread, promote_func* fn, ScanContext* sc); +// * Scanning of stack roots: +// static void GcScanRoots(promote_func* fn, int condemned, int max_gen, ScanContext* sc); // // The sample has trivial implementation for these methods. It is single threaded, and there are no stack roots to // be reported. There are number of other callbacks that GC calls to optionally allow the execution engine to do its |