mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8080746
: Refactor oop iteration macros to be more general
Reviewed-by: stefank, pliden
This commit is contained in:
parent
e57447bd85
commit
b04d2bca57
16 changed files with 149 additions and 252 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue