Sat, 07 Nov 2020 10:30:02 +0800
Added tag mips-jdk8u275-b01 for changeset d3b4d62f391f
neugens@9861 | 1 | /* |
neugens@9861 | 2 | * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
neugens@9861 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
neugens@9861 | 4 | * |
neugens@9861 | 5 | * This code is free software; you can redistribute it and/or modify it |
neugens@9861 | 6 | * under the terms of the GNU General Public License version 2 only, as |
neugens@9861 | 7 | * published by the Free Software Foundation. |
neugens@9861 | 8 | * |
neugens@9861 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
neugens@9861 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
neugens@9861 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
neugens@9861 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
neugens@9861 | 13 | * accompanied this code). |
neugens@9861 | 14 | * |
neugens@9861 | 15 | * You should have received a copy of the GNU General Public License version |
neugens@9861 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
neugens@9861 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
neugens@9861 | 18 | * |
neugens@9861 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
neugens@9861 | 20 | * or visit www.oracle.com if you need additional information or have any |
neugens@9861 | 21 | * questions. |
neugens@9861 | 22 | * |
neugens@9861 | 23 | */ |
neugens@9861 | 24 | |
neugens@9861 | 25 | #ifndef SHARE_GC_G1_HEAPREGIONTRACER_HPP |
neugens@9861 | 26 | #define SHARE_GC_G1_HEAPREGIONTRACER_HPP |
neugens@9861 | 27 | |
neugens@9861 | 28 | #include "gc_implementation/g1/g1HeapRegionTraceType.hpp" |
neugens@9861 | 29 | #include "memory/allocation.hpp" |
neugens@9861 | 30 | |
neugens@9861 | 31 | class HeapRegionTracer : AllStatic { |
neugens@9861 | 32 | public: |
neugens@9861 | 33 | static void send_region_type_change(uint index, |
neugens@9861 | 34 | G1HeapRegionTraceType::Type from, |
neugens@9861 | 35 | G1HeapRegionTraceType::Type to, |
neugens@9861 | 36 | uintptr_t start, |
neugens@9861 | 37 | size_t used); |
neugens@9861 | 38 | }; |
neugens@9861 | 39 | |
neugens@9861 | 40 | #endif // SHARE_GC_G1_HEAPREGIONTRACER_HPP |