changeset 52601:d32e5b7100ee

8213948: Solaris-X64 build fails with compact hashtable Reviewed-by: dcubed, shade
author iklam
date Fri, 16 Nov 2018 17:46:15 -0800
parents 66ddc32d2dc5
children 4ea75a606797
files src/hotspot/share/classfile/compactHashtable.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }