mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8139200: Eliminate G1ParClosureSuper::_worker_id
Moved _worker_id from G1ParClosureSuper to G1ParCopyHelper. Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
e8e182c0e7
commit
e7d0e95b08
6 changed files with 23 additions and 45 deletions
|
@ -98,7 +98,7 @@ class G1ParScanThreadState : public CHeapObj<mtGC> {
|
|||
|
||||
template <class T> void push_on_queue(T* ref);
|
||||
|
||||
template <class T> void update_rs(HeapRegion* from, T* p, uint tid) {
|
||||
template <class T> void update_rs(HeapRegion* from, T* p) {
|
||||
// If the new value of the field points to the same region or
|
||||
// is the to-space, we don't need to include it in the Rset updates.
|
||||
if (!from->is_in_reserved(oopDesc::load_decode_heap_oop(p)) && !from->is_survivor()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue