1879N/A * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A// Prioritized queue of VM operations. 0N/A// Encapsulates both queue management and 0N/A// and priority policy 0N/A // We maintain a doubled linked list, with explicit count. 0N/A // we also allow the vmThread to register the ops it has drained so we 0N/A // can scan them from oops_do 0N/A // Double-linked non-empty list insert. 0N/A // Basic queue manipulation 0N/A // lock-free query: may return the wrong answer but must not break 0N/A // Highlevel operations. Encapsulates policy 0N/A// A single VMThread (the primordial thread) spawns all other threads 0N/A// and is itself used by other threads to offload heavy vm operations 0N/A// like scavenge, garbage_collect etc. 0N/A // The ever running loop for the VMThread 0N/A // Called to stop the VM thread 0N/A // Execution of vm operation 0N/A // Returns the current vm operation if any. 0N/A // Returns the single instance of VMThread. 0N/A // Performance measurement 0N/A // Entry for starting vm thread 0N/A // VM_Operation support 0N/A // Pointer to single-instance of VM thread 1879N/A#
endif // SHARE_VM_RUNTIME_VMTHREAD_HPP