equal
deleted
inserted
replaced
40 // this elapsed time of this process, and leaving the array empty. |
40 // this elapsed time of this process, and leaving the array empty. |
41 // The caller must be sure to call "done" to process any unprocessed |
41 // The caller must be sure to call "done" to process any unprocessed |
42 // buffered entries. |
42 // buffered entries. |
43 |
43 |
44 class BufferingOopClosure: public OopClosure { |
44 class BufferingOopClosure: public OopClosure { |
45 friend class TestBufferingOopClosure; |
45 friend class BufferingOopClosureTest; |
46 protected: |
46 protected: |
47 static const size_t BufferLength = 1024; |
47 static const size_t BufferLength = 1024; |
48 |
48 |
49 // We need to know if the buffered addresses contain oops or narrowOops. |
49 // We need to know if the buffered addresses contain oops or narrowOops. |
50 // We can't tag the addresses the way StarTask does, because we need to |
50 // We can't tag the addresses the way StarTask does, because we need to |