On Wed, 30 Apr 2025 10:29:36 GMT, Julian Waters <jwat...@openjdk.org> wrote:
> Why not new and delete? In most cases, we allocate raw buffers that are filled by macOS. We could use "std::vector+try/catch" instead, but since malloc/free is already used in this code, I followed the same pattern for consistency. ------------- PR Comment: https://git.openjdk.org/jdk/pull/24937#issuecomment-2842886004