src/share/vm/code/dependencies.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
JDK-8035946 Cdiff src/share/vm/code/dependencies.hpp
src/share/vm/code/dependencies.hpp
Print this page
*** 525,535 ****
static void print_statistics() PRODUCT_RETURN;
};
! class DependencySignature : public GenericHashtableEntry<DependencySignature, ResourceObj> {
private:
int _args_count;
uintptr_t _argument_hash[Dependencies::max_arg_count];
Dependencies::DepType _type;
--- 525,535 ----
static void print_statistics() PRODUCT_RETURN;
};
! class DependencySignature : public ResourceObj {
private:
int _args_count;
uintptr_t _argument_hash[Dependencies::max_arg_count];
Dependencies::DepType _type;
*** 540,555 ****
for (int i = 0; i < _args_count; i++) {
_argument_hash[i] = dep.get_identifier(i);
}
}
! bool equals(DependencySignature* sig) const;
! uintptr_t key() const { return _argument_hash[0] >> 2; }
int args_count() const { return _args_count; }
uintptr_t arg(int idx) const { return _argument_hash[idx]; }
Dependencies::DepType type() const { return _type; }
};
// Every particular DepChange is a sub-class of this class.
class DepChange : public StackObj {
--- 540,556 ----
for (int i = 0; i < _args_count; i++) {
_argument_hash[i] = dep.get_identifier(i);
}
}
! static bool equals(DependencySignature const& s1, DependencySignature const& s2);
! static unsigned hash (DependencySignature const& s1) { return s1.arg(0) >> 2; }
int args_count() const { return _args_count; }
uintptr_t arg(int idx) const { return _argument_hash[idx]; }
Dependencies::DepType type() const { return _type; }
+
};
// Every particular DepChange is a sub-class of this class.
class DepChange : public StackObj {
src/share/vm/code/dependencies.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File