1 /* 2 * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR 3 * REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it under the terms of the GNU 6 * General Public License version 2 only, as published by the Free Software Foundation. 7 * 8 * This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 9 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 10 * General Public License version 2 for more details (a copy is included in the LICENSE file that 11 * accompanied this code). 12 * 13 * You should have received a copy of the GNU General Public License version 2 along with this work; 14 * if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 15 * 02110-1301 USA. 16 * 17 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA or visit www.oracle.com 18 * if you need additional information or have any questions. 19 */ 20 /** 21 * Package that defines the interface between a Java application that wants to install code and the runtime. 22 * The runtime provides in implementation of the {@link jdk.vm.ci.code.CodeCacheProvider} interface. 23 * The method {@link jdk.vm.ci.code.CodeCacheProvider#addCode(jdk.vm.ci.meta.ResolvedJavaMethod, CompilationResult, jdk.vm.ci.meta.SpeculationLog, InstalledCode)} 24 * can be used to install code. 25 */ 26 package jdk.vm.ci.code; 27