src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp

Thu, 27 May 2010 19:08:38 -0700

author
trims
date
Thu, 27 May 2010 19:08:38 -0700
changeset 1907
c18cbe5936b8
parent 1746
2a1472c30599
child 1993
b2a00dd3117c
permissions
-rw-r--r--

6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair

jcoomes@1746 1 /*
trims@1907 2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
jcoomes@1746 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jcoomes@1746 4 *
jcoomes@1746 5 * This code is free software; you can redistribute it and/or modify it
jcoomes@1746 6 * under the terms of the GNU General Public License version 2 only, as
jcoomes@1746 7 * published by the Free Software Foundation.
jcoomes@1746 8 *
jcoomes@1746 9 * This code is distributed in the hope that it will be useful, but WITHOUT
jcoomes@1746 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jcoomes@1746 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jcoomes@1746 12 * version 2 for more details (a copy is included in the LICENSE file that
jcoomes@1746 13 * accompanied this code).
jcoomes@1746 14 *
jcoomes@1746 15 * You should have received a copy of the GNU General Public License version
jcoomes@1746 16 * 2 along with this work; if not, write to the Free Software Foundation,
jcoomes@1746 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jcoomes@1746 18 *
trims@1907 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1907 20 * or visit www.oracle.com if you need additional information or have any
trims@1907 21 * questions.
jcoomes@1746 22 *
jcoomes@1746 23 */
jcoomes@1746 24
jcoomes@1746 25 void ParCompactionManager::push_objarray(oop obj, size_t index)
jcoomes@1746 26 {
jcoomes@1746 27 ObjArrayTask task(obj, index);
jcoomes@1746 28 assert(task.is_valid(), "bad ObjArrayTask");
jcoomes@1746 29 if (!_objarray_queue.push(task)) {
jcoomes@1746 30 _objarray_overflow_stack->push(task);
jcoomes@1746 31 }
jcoomes@1746 32 }

mercurial