8080746: Refactor oop iteration macros to be more general

Reviewed-by: stefank, pliden
This commit is contained in:
Stefan Johansson 2015-05-25 11:39:43 +02:00
parent e57447bd85
commit b04d2bca57
16 changed files with 149 additions and 252 deletions

View file

@ -381,9 +381,4 @@ template <> class Devirtualizer<false> {
template <class OopClosureType> static bool do_metadata(OopClosureType* closure);
};
// Helper to convert the oop iterate macro suffixes into bool values that can be used by template functions.
#define nvs_nv_to_bool true
#define nvs_v_to_bool false
#define nvs_to_bool(nv_suffix) nvs##nv_suffix##_to_bool
#endif // SHARE_VM_MEMORY_ITERATOR_HPP