Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/genOopClosures.inline.hpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | 284953caf7aa |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14141:f97c5ec83832 | 14518:d8041d695d19 |
---|---|
43 _gen = gen; | 43 _gen = gen; |
44 _gen_boundary = _gen->reserved().start(); | 44 _gen_boundary = _gen->reserved().start(); |
45 // Barrier set for the heap, must be set after heap is initialized | 45 // Barrier set for the heap, must be set after heap is initialized |
46 if (_rs == NULL) { | 46 if (_rs == NULL) { |
47 GenRemSet* rs = SharedHeap::heap()->rem_set(); | 47 GenRemSet* rs = SharedHeap::heap()->rem_set(); |
48 assert(rs->rs_kind() == GenRemSet::CardTable, "Wrong rem set kind"); | |
49 _rs = (CardTableRS*)rs; | 48 _rs = (CardTableRS*)rs; |
50 } | 49 } |
51 } | 50 } |
52 | 51 |
53 template <class T> inline void OopsInGenClosure::do_barrier(T* p) { | 52 template <class T> inline void OopsInGenClosure::do_barrier(T* p) { |