equal
deleted
inserted
replaced
229 |
229 |
230 bool exists(u4 value); |
230 bool exists(u4 value); |
231 |
231 |
232 // For reading from/writing to the CDS archive |
232 // For reading from/writing to the CDS archive |
233 void serialize(SerializeClosure* soc); |
233 void serialize(SerializeClosure* soc); |
|
234 |
|
235 inline bool empty() { |
|
236 return (_entry_count == 0); |
|
237 } |
234 }; |
238 }; |
235 |
239 |
236 template <class T, class N> class CompactHashtable : public SimpleCompactHashtable { |
240 template <class T, class N> class CompactHashtable : public SimpleCompactHashtable { |
237 friend class VMStructs; |
241 friend class VMStructs; |
238 |
242 |