mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8 8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8 8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8 Co-authored-by: Paul Hohensee <hohensee@amazon.com> Reviewed-by: jwilhelm, ehelin, phh
This commit is contained in:
parent
eb20e62194
commit
efd1054686
142 changed files with 787 additions and 526 deletions
|
@ -301,8 +301,8 @@ template <class T, MEMFLAGS F> class RehashableHashtable : public Hashtable<T, F
|
|||
|
||||
// Function to move these elements into the new table.
|
||||
void move_to(RehashableHashtable<T, F>* new_table);
|
||||
static bool use_alternate_hashcode() { return _seed != 0; }
|
||||
static juint seed() { return _seed; }
|
||||
static bool use_alternate_hashcode();
|
||||
static juint seed();
|
||||
|
||||
static int literal_size(Symbol *symbol);
|
||||
static int literal_size(oop oop);
|
||||
|
@ -320,6 +320,9 @@ template <class T, MEMFLAGS F> class RehashableHashtable : public Hashtable<T, F
|
|||
static juint _seed;
|
||||
};
|
||||
|
||||
template <class T, MEMFLAGS F> juint RehashableHashtable<T, F>::_seed = 0;
|
||||
template <class T, MEMFLAGS F> juint RehashableHashtable<T, F>::seed() { return _seed; };
|
||||
template <class T, MEMFLAGS F> bool RehashableHashtable<T, F>::use_alternate_hashcode() { return _seed != 0; };
|
||||
|
||||
// Versions of hashtable where two handles are used to compute the index.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue