8183038: Minimal vm slowdebug build fails with undefined reference to MetaspaceShared::is_valid_shared_method
Summary: added missing NOT_CDS_RETURN_(false)
Reviewed-by: jiangli, coleenp
--- a/hotspot/src/share/vm/memory/metaspaceShared.hpp Tue Jul 25 19:25:02 2017 +0000
+++ b/hotspot/src/share/vm/memory/metaspaceShared.hpp Tue Jul 25 09:32:50 2017 -0700
@@ -181,7 +181,7 @@
static intptr_t* clone_cpp_vtables(intptr_t* p);
static void zero_cpp_vtable_clones_for_writing();
static void patch_cpp_vtable_pointers();
- static bool is_valid_shared_method(const Method* m);
+ static bool is_valid_shared_method(const Method* m) NOT_CDS_RETURN_(false);
static void serialize(SerializeClosure* sc, GrowableArray<MemRegion> *string_space,
size_t* space_size);