# HG changeset patch # User zgu # Date 1364413313 14400 # Node ID b5bae74160b7f7942e3db041c573c443ef064ffb # Parent b8deb3205b514310f6059ce7da0d0c33e28053db 8010474: [parfait] Undefined return value of the functions in hotspot/src/share/vm/services/memTracker.hpp Summary: Fixed functions that miss return values Reviewed-by: coleenp, acorn, kvn diff -r b8deb3205b51 -r b5bae74160b7 src/share/vm/services/memTracker.hpp --- a/src/share/vm/services/memTracker.hpp Mon Mar 25 09:36:15 2013 -0700 +++ b/src/share/vm/services/memTracker.hpp Wed Mar 27 15:41:53 2013 -0400 @@ -86,13 +86,13 @@ static inline void set_autoShutdown(bool value) { } static void shutdown(ShutdownReason reason) { } - static inline bool shutdown_in_progress() { } + static inline bool shutdown_in_progress() { return false; } static bool print_memory_usage(BaselineOutputer& out, size_t unit, - bool summary_only = true) { } + bool summary_only = true) { return false; } static bool compare_memory_usage(BaselineOutputer& out, size_t unit, - bool summary_only = true) { } + bool summary_only = true) { return false; } - static bool wbtest_wait_for_data_merge() { } + static bool wbtest_wait_for_data_merge() { return false; } static inline void sync() { } static inline void thread_exiting(JavaThread* thread) { }