< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/CompilationStatistics.java

Print this page
rev 52509 : [mq]: graal


   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 
  25 package org.graalvm.compiler.hotspot;
  26 
  27 import static java.lang.Thread.currentThread;
  28 
  29 import java.io.FileNotFoundException;
  30 import java.io.FileOutputStream;
  31 import java.io.PrintStream;
  32 import java.lang.annotation.ElementType;
  33 import java.lang.annotation.Retention;
  34 import java.lang.annotation.RetentionPolicy;
  35 import java.lang.annotation.Target;
  36 import java.lang.reflect.Field;
  37 import java.lang.reflect.Modifier;
  38 import java.util.ArrayDeque;
  39 import java.util.ArrayList;
  40 import java.util.Arrays;
  41 import java.util.Date;
  42 import java.util.Deque;
  43 import java.util.Locale;
  44 import java.util.concurrent.ConcurrentLinkedDeque;
  45 
  46 import org.graalvm.compiler.debug.CSVUtil;
  47 import org.graalvm.compiler.options.Option;
  48 import org.graalvm.compiler.options.OptionKey;
  49 import org.graalvm.compiler.options.OptionValues;
  50 import org.graalvm.compiler.serviceprovider.GraalServices;
  51 
  52 import jdk.vm.ci.hotspot.HotSpotInstalledCode;
  53 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  54 
  55 @SuppressWarnings("unused")
  56 public final class CompilationStatistics {
  57 
  58     public static class Options {
  59         // @formatter:off
  60         @Option(help = "Enables CompilationStatistics.")




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 
  25 package org.graalvm.compiler.hotspot;
  26 


  27 import java.io.FileNotFoundException;
  28 import java.io.FileOutputStream;
  29 import java.io.PrintStream;
  30 import java.lang.annotation.ElementType;
  31 import java.lang.annotation.Retention;
  32 import java.lang.annotation.RetentionPolicy;
  33 import java.lang.annotation.Target;
  34 import java.lang.reflect.Field;
  35 import java.lang.reflect.Modifier;
  36 import java.util.ArrayDeque;
  37 import java.util.ArrayList;

  38 import java.util.Date;
  39 import java.util.Deque;
  40 import java.util.Locale;
  41 import java.util.concurrent.ConcurrentLinkedDeque;
  42 
  43 import org.graalvm.compiler.debug.CSVUtil;
  44 import org.graalvm.compiler.options.Option;
  45 import org.graalvm.compiler.options.OptionKey;
  46 import org.graalvm.compiler.options.OptionValues;
  47 import org.graalvm.compiler.serviceprovider.GraalServices;
  48 
  49 import jdk.vm.ci.hotspot.HotSpotInstalledCode;
  50 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  51 
  52 @SuppressWarnings("unused")
  53 public final class CompilationStatistics {
  54 
  55     public static class Options {
  56         // @formatter:off
  57         @Option(help = "Enables CompilationStatistics.")


< prev index next >