8293114: JVM should trim the native heap

Reviewed-by: shade, rehn, dholmes
This commit is contained in:
Thomas Stuefe 2023-07-21 12:22:03 +00:00
parent 59f66a3b83
commit 9e4fc568a6
20 changed files with 843 additions and 8 deletions

View file

@ -55,7 +55,7 @@ inline bool os::must_commit_stack_guard_pages() {
inline void os::map_stack_shadow_pages(address sp) {
}
// stubbed-out trim-native support
// Trim-native support, stubbed out for now, may be enabled later
inline bool os::can_trim_native_heap() { return false; }
inline bool os::trim_native_heap(os::size_change_t* rss_change) { return false; }