Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp @ 6862:8a5ea0a9ccc4
7127708: G1: change task num types from int to uint in concurrent mark
Summary: Change the type of various task num fields, parameters etc to unsigned and rename them to be more consistent with the other collectors. Code changes were also reviewed by Vitaly Davidovich.
Reviewed-by: johnc
Contributed-by: Kaushik Srenevasan <kaushik@twitter.com>
author | johnc |
---|---|
date | Sat, 06 Oct 2012 01:17:44 -0700 |
parents | a2f7274eb6ef |
children | 63a4eb8bcd23 d2907f74462e 86b64209f715 |
comparison
equal
deleted
inserted
replaced
6830:81e878c53615 | 6862:8a5ea0a9ccc4 |
---|---|
109 assert(!_g1h->is_on_master_free_list( | 109 assert(!_g1h->is_on_master_free_list( |
110 _g1h->heap_region_containing((HeapWord*) p)), "invariant"); | 110 _g1h->heap_region_containing((HeapWord*) p)), "invariant"); |
111 | 111 |
112 oop obj = oopDesc::load_decode_heap_oop(p); | 112 oop obj = oopDesc::load_decode_heap_oop(p); |
113 if (_cm->verbose_high()) { | 113 if (_cm->verbose_high()) { |
114 gclog_or_tty->print_cr("[%d] we're looking at location " | 114 gclog_or_tty->print_cr("[%u] we're looking at location " |
115 "*"PTR_FORMAT" = "PTR_FORMAT, | 115 "*"PTR_FORMAT" = "PTR_FORMAT, |
116 _task->task_id(), p, (void*) obj); | 116 _task->worker_id(), p, (void*) obj); |
117 } | 117 } |
118 _task->deal_with_reference(obj); | 118 _task->deal_with_reference(obj); |
119 } | 119 } |
120 | 120 |
121 template <class T> | 121 template <class T> |