< prev index next >

src/hotspot/share/memory/filemap.hpp

Print this page

*** 1,7 **** /* ! * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 246,256 **** bool read_only, bool allow_exec); size_t write_archive_heap_regions(GrowableArray<MemRegion> *heap_mem, int first_region_id, int max_num_regions); void write_bytes(const void* buffer, int count); void write_bytes_aligned(const void* buffer, int count); ! char* map_region(int i); void map_heap_regions() NOT_CDS_JAVA_HEAP_RETURN; void fixup_mapped_heap_regions() NOT_CDS_JAVA_HEAP_RETURN; void unmap_region(int i); bool verify_region_checksum(int i); void close(); --- 246,256 ---- bool read_only, bool allow_exec); size_t write_archive_heap_regions(GrowableArray<MemRegion> *heap_mem, int first_region_id, int max_num_regions); void write_bytes(const void* buffer, int count); void write_bytes_aligned(const void* buffer, int count); ! char* map_region(int i, char** top_ret); void map_heap_regions() NOT_CDS_JAVA_HEAP_RETURN; void fixup_mapped_heap_regions() NOT_CDS_JAVA_HEAP_RETURN; void unmap_region(int i); bool verify_region_checksum(int i); void close();
*** 263,274 **** // Errors. static void fail_stop(const char *msg, ...) ATTRIBUTE_PRINTF(1, 2); static void fail_continue(const char *msg, ...) ATTRIBUTE_PRINTF(1, 2); - // Return true if given address is in the mapped shared space. - bool is_in_shared_space(const void* p) NOT_CDS_RETURN_(false); bool is_in_shared_region(const void* p, int idx) NOT_CDS_RETURN_(false); void print_shared_spaces() NOT_CDS_RETURN; // Stop CDS sharing and unmap CDS regions. static void stop_sharing_and_unmap(const char* msg); --- 263,272 ----
< prev index next >