comparison src/share/vm/services/memTracker.hpp @ 8842:b5bae74160b7

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
author zgu
date Wed, 27 Mar 2013 15:41:53 -0400
parents 06db4c0afbf3
children 35f8765422b9
comparison
equal deleted inserted replaced
8817:b8deb3205b51 8842:b5bae74160b7
84 static inline bool baseline() { return false; } 84 static inline bool baseline() { return false; }
85 static inline bool has_baseline() { return false; } 85 static inline bool has_baseline() { return false; }
86 86
87 static inline void set_autoShutdown(bool value) { } 87 static inline void set_autoShutdown(bool value) { }
88 static void shutdown(ShutdownReason reason) { } 88 static void shutdown(ShutdownReason reason) { }
89 static inline bool shutdown_in_progress() { } 89 static inline bool shutdown_in_progress() { return false; }
90 static bool print_memory_usage(BaselineOutputer& out, size_t unit, 90 static bool print_memory_usage(BaselineOutputer& out, size_t unit,
91 bool summary_only = true) { } 91 bool summary_only = true) { return false; }
92 static bool compare_memory_usage(BaselineOutputer& out, size_t unit, 92 static bool compare_memory_usage(BaselineOutputer& out, size_t unit,
93 bool summary_only = true) { } 93 bool summary_only = true) { return false; }
94 94
95 static bool wbtest_wait_for_data_merge() { } 95 static bool wbtest_wait_for_data_merge() { return false; }
96 96
97 static inline void sync() { } 97 static inline void sync() { }
98 static inline void thread_exiting(JavaThread* thread) { } 98 static inline void thread_exiting(JavaThread* thread) { }
99 }; 99 };
100 100