annotate src/hotspot/share/gc/shared/gcUtil.inline.hpp @ 54526:ee29b516a36a

revert changes
author jlaskey
date Wed, 23 Jan 2019 16:09:20 -0400
parents 7c4d43c26352
children
rev   line source
stefank@48373 1 /*
coleenp@54304 2 * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
stefank@48373 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
stefank@48373 4 *
stefank@48373 5 * This code is free software; you can redistribute it and/or modify it
stefank@48373 6 * under the terms of the GNU General Public License version 2 only, as
stefank@48373 7 * published by the Free Software Foundation.
stefank@48373 8 *
stefank@48373 9 * This code is distributed in the hope that it will be useful, but WITHOUT
stefank@48373 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
stefank@48373 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
stefank@48373 12 * version 2 for more details (a copy is included in the LICENSE file that
stefank@48373 13 * accompanied this code).
stefank@48373 14 *
stefank@48373 15 * You should have received a copy of the GNU General Public License version
stefank@48373 16 * 2 along with this work; if not, write to the Free Software Foundation,
stefank@48373 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
stefank@48373 18 *
stefank@48373 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
stefank@48373 20 * or visit www.oracle.com if you need additional information or have any
stefank@48373 21 * questions.
stefank@48373 22 *
stefank@48373 23 */
stefank@48373 24
coleenp@54304 25 #ifndef SHARE_GC_SHARED_GCUTIL_INLINE_HPP
coleenp@54304 26 #define SHARE_GC_SHARED_GCUTIL_INLINE_HPP
stefank@48373 27
stefank@48373 28 #include "gc/shared/gcUtil.hpp"
stefank@48373 29 #include "memory/allocation.inline.hpp"
stefank@48373 30
stefank@48373 31 inline void* AdaptivePaddedAverage::operator new(size_t size) throw() {
stefank@48373 32 return CHeapObj<mtGC>::operator new(size);
stefank@48373 33 }
stefank@48373 34
coleenp@54304 35 #endif // SHARE_GC_SHARED_GCUTIL_INLINE_HPP