8213948: Solaris-X64 build fails with compact hashtable
authoriklam
Fri, 16 Nov 2018 17:46:15 -0800
changeset 52601 d32e5b7100ee
parent 52600 66ddc32d2dc5
child 52602 4ea75a606797
8213948: Solaris-X64 build fails with compact hashtable Reviewed-by: dcubed, shade
src/hotspot/share/classfile/compactHashtable.hpp
--- a/src/hotspot/share/classfile/compactHashtable.hpp	Fri Nov 16 15:51:29 2018 +0100
+++ b/src/hotspot/share/classfile/compactHashtable.hpp	Fri Nov 16 17:46:15 2018 -0800
@@ -330,7 +330,7 @@
 // offset from the CDS base address.
 
 template <typename V>
-V read_value_from_compact_hashtable(address base_address, u4 offset) {
+inline V read_value_from_compact_hashtable(address base_address, u4 offset) {
   return (V)(base_address + offset);
 }