mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8296796: Provide clean, platform-agnostic interface to C-heap trimming
Reviewed-by: dholmes, rkennke
This commit is contained in:
parent
c50a9047b4
commit
0845b39caf
10 changed files with 108 additions and 53 deletions
|
@ -55,4 +55,8 @@ inline bool os::must_commit_stack_guard_pages() {
|
|||
inline void os::map_stack_shadow_pages(address sp) {
|
||||
}
|
||||
|
||||
// stubbed-out trim-native support
|
||||
inline bool os::can_trim_native_heap() { return false; }
|
||||
inline bool os::trim_native_heap(os::size_change_t* rss_change) { return false; }
|
||||
|
||||
#endif // OS_BSD_OS_BSD_INLINE_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue