Skip to content

Zero offheap on commit on OSX - #7559

Merged
babsingh merged 1 commit into
eclipse-omr:masterfrom
amicic:zero_offheap_on_commit_on_osx
Nov 26, 2024
Merged

Zero offheap on commit on OSX#7559
babsingh merged 1 commit into
eclipse-omr:masterfrom
amicic:zero_offheap_on_commit_on_osx

Conversation

@amicic

@amicic amicic commented Nov 25, 2024

Copy link
Copy Markdown
Contributor

For some reason OSX does not seem to zero memory on commit, unless it's
the first commit. For now, till we understand if there is a way to force
zero on subsequent re-commits, we will zero it explicitly.

Including zPTF as well, since we don't know how it will behave, even
if/when it adds support for commit/decommit/virtual-memory.

@amicic amicic changed the title WIP: Zero offheap on commit on OSX Zero offheap on commit on OSX Nov 25, 2024
Comment thread gc/base/SparseVirtualMemory.cpp Outdated
Comment thread gc/base/SparseVirtualMemory.cpp Outdated
Comment thread gc/base/SparseVirtualMemory.cpp Outdated
@amicic
amicic force-pushed the zero_offheap_on_commit_on_osx branch from 7f2f732 to bcb4b24 Compare November 26, 2024 14:35
Comment thread gc/base/SparseVirtualMemory.cpp Outdated
For some reason OSX does not seem to zero memory on commit, unless it's
the first commit. For now, till we understand if there is a way to force
zero on subsequent re-commits, we will zero it explicitly.

Including zPTF as well, since we don't know how it will behave, even
if/when it adds support for commit/decommit/virtual-memory.

Signed-off-by: Aleksandar Micic <Aleksandar_Micic@ca.ibm.com>
@amicic
amicic force-pushed the zero_offheap_on_commit_on_osx branch from bcb4b24 to 9e83ee1 Compare November 26, 2024 14:49
@babsingh

Copy link
Copy Markdown
Contributor

jenkins build all

@babsingh
babsingh merged commit f92a3f0 into eclipse-omr:master Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants