8183038: Minimal vm slowdebug build fails with undefined reference to MetaspaceShared::is_valid_shared_method
authoriklam
Tue, 25 Jul 2017 09:32:50 -0700
changeset 46718 1fd6f7bc17c9
parent 46717 16ad138ebfb4
child 46719 0de742eacb75
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
hotspot/src/share/vm/memory/metaspaceShared.hpp
--- 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);