Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 20191:fd81a5764900
8046231: G1: Code root location ... from nmethod ... not in strong code roots for region
Reviewed-by: tschatzl, ehelin
author | pliden |
---|---|
date | Mon, 23 Jun 2014 16:43:41 +0200 |
parents | 0982ec23da03 |
children | 581e70386ec9 |
comparison
equal
deleted
inserted
replaced
20190:0982ec23da03 | 20191:fd81a5764900 |
---|---|
6948 nmethod* nm = (cb != NULL) ? cb->as_nmethod_or_null() : NULL; | 6948 nmethod* nm = (cb != NULL) ? cb->as_nmethod_or_null() : NULL; |
6949 if (nm == NULL) { | 6949 if (nm == NULL) { |
6950 return; | 6950 return; |
6951 } | 6951 } |
6952 | 6952 |
6953 if (ScavengeRootsInCode && nm->detect_scavenge_root_oops()) { | 6953 if (ScavengeRootsInCode) { |
6954 _g1h->register_nmethod(nm); | 6954 _g1h->register_nmethod(nm); |
6955 } | 6955 } |
6956 } | 6956 } |
6957 }; | 6957 }; |
6958 | 6958 |