interfaceSupport.cpp revision 1472
337N/A * Copyright (c) 1997, 2009, 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. 0N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A#
include "incls/_precompiled.incl" 0N/A// Implementation of InterfaceSupport 0N/A // Check for new, not quite initialized thread. A thread in new mode cannot initiate a GC. 0N/A // Short-circuit any possible re-entrant gc-a-lot attempt 0N/A // Use this line if you want to block at a specific point, 0N/A // Check if we should force a full gc 0N/A // Release dummy so objects are forced to move 0N/A warning(
"FullGCALot: Unable to release more dummies at bottom of heap");
0N/A // Compute new interval 0N/A // Print progress message 304N/A // Check if we should force a scavenge 0N/A // Compute new interval 0N/A // Print progress message 0N/A // Find oopmap for current method 0N/A // $$$ Not sure what to do here. 304N/A // disabled because it throws warnings that oop maps should only be accessed 304N/A // in VM thread or during debugging 0N/A // verification does not work if there are pending exceptions 0N/A // In case of exceptions we might not have a runtime_stub on 0N/A // top of stack, hence, all callee-saved registers are not going 0N/A // to be setup correctly, hence, we cannot do stack verify