mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-20 15:25:27 +00:00
8077315: Build failure on OSX after compiler upgrade
Reviewed-by: stefank, mgerdin
This commit is contained in:
parent
28d6d2146c
commit
46fd08f9ac
@ -90,10 +90,10 @@ class AlwaysContains {
|
||||
public:
|
||||
template <typename T> bool operator()(T* p) const { return true; }
|
||||
};
|
||||
static AlwaysContains always_contains;
|
||||
|
||||
template <bool nv, class OopClosureType>
|
||||
void InstanceRefKlass::oop_oop_iterate_ref_processing(oop obj, OopClosureType* closure) {
|
||||
AlwaysContains always_contains;
|
||||
if (UseCompressedOops) {
|
||||
oop_oop_iterate_ref_processing_specialized<nv, narrowOop>(obj, closure, always_contains);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user