Mercurial > hg > truffle
diff src/share/vm/code/oopRecorder.hpp @ 17428:50942f016967
remove duplicate check in OopRecorder
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 13 Oct 2014 15:52:19 -0700 |
parents | 44b83285b645 |
children |
line wrap: on
line diff
--- a/src/share/vm/code/oopRecorder.hpp Mon Oct 13 21:15:03 2014 +0200 +++ b/src/share/vm/code/oopRecorder.hpp Mon Oct 13 15:52:19 2014 -0700 @@ -192,15 +192,11 @@ } } - void check_for_duplicates(int index, jobject h) NOT_DEBUG_RETURN; - int allocate_oop_index(jobject h) { return _oops.allocate_index(h); } int find_index(jobject h) { - int result = _object_lookup != NULL ? _object_lookup->find_index(h, this) : _oops.find_index(h); - check_for_duplicates(result, h); - return result; + return _object_lookup != NULL ? _object_lookup->find_index(h, this) : _oops.find_index(h); } jobject oop_at(int index) { return _oops.at(index);