001/* 002 * This file is part of the Jikes RVM project (http://jikesrvm.org). 003 * 004 * This file is licensed to You under the Eclipse Public License (EPL); 005 * You may not use this file except in compliance with the License. You 006 * may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/eclipse-1.0.php 009 * 010 * See the COPYRIGHT.txt file distributed with this work for information 011 * regarding copyright ownership. 012 */ 013package org.jikesrvm.adaptive.database; 014 015import org.jikesrvm.adaptive.measurements.instrumentation.MethodInvocationCounterData; 016import org.jikesrvm.adaptive.measurements.instrumentation.StringEventCounterData; 017import org.jikesrvm.adaptive.measurements.instrumentation.YieldpointCounterData; 018import org.jikesrvm.adaptive.util.AOSOptions; 019 020/** 021 * Used to keep track of the various data structures that make up the 022 * AOS database. 023 */ 024public final class AOSDatabase { 025 /* 026 * Static links to data objects that are "whole-program" (as opposed 027 * to per-method) 028 */ 029 public static MethodInvocationCounterData methodInvocationCounterData; 030 public static YieldpointCounterData yieldpointCounterData; 031 public static StringEventCounterData instructionCounterData; 032 public static StringEventCounterData debuggingCounterData; 033 034 /** 035 * This method provides a hook to do initialization and is 036 * intentionally empty by default. 037 * 038 * @param options unused by default 039 */ 040 public static void boot(AOSOptions options) { 041 } 042}