invoker.c revision 2362
2362N/A * Copyright (c) 1998, 2007, 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 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 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. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A tagPtr++;
/* 1st character after the end of args */ 0N/A /* Skip any array modifiers */ 0N/A /* Skip class name */ 0N/A /* Skip primitive sig */ 0N/A * Note: argument refs may be destroyed on out-of-memory error 0N/A /* Create a global ref for any non-null argument */ 0N/A#
ifdef FIXUP /* Why isn't this an error? */ 0N/A /* Make sure the argument count matches */ 0N/A /* Finally, put the global refs into the request if no errors */ 0N/A /* Delete global references */ 0N/A * Thread is not at a point where it can invoke. 0N/A * Squirrel away the method signature 0N/A * The given references for class and instance are not guaranteed 0N/A * to be around long enough for invocation, so create new ones 0N/A /* true means it is okay to unblock the commandLoop thread */ 0N/A /* Prevent gcc errors on uninitialized variables. */ 0N/A * Although constructors technically have a return type of 0N/A * void, we return the object created. 0N/A * Give up the lock before I/O operation