src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotGraalRuntime.java
changeset 58299 6df94ce3ab2f
parent 55509 d58442b8abc1
child 58533 46b0b7fe255c
equal deleted inserted replaced
58298:0152ad7b38b8 58299:6df94ce3ab2f
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   111     }
   111     }
   112 
   112 
   113     private final String runtimeName;
   113     private final String runtimeName;
   114     private final String compilerConfigurationName;
   114     private final String compilerConfigurationName;
   115     private final HotSpotBackend hostBackend;
   115     private final HotSpotBackend hostBackend;
       
   116 
       
   117     public GlobalMetrics getMetricValues() {
       
   118         return metricValues;
       
   119     }
       
   120 
   116     private final GlobalMetrics metricValues = new GlobalMetrics();
   121     private final GlobalMetrics metricValues = new GlobalMetrics();
   117     private final List<SnippetCounter.Group> snippetCounterGroups;
   122     private final List<SnippetCounter.Group> snippetCounterGroups;
   118     private final HotSpotGC garbageCollector;
   123     private final HotSpotGC garbageCollector;
   119 
   124 
   120     private final EconomicMap<Class<? extends Architecture>, HotSpotBackend> backends = EconomicMap.create(Equivalence.IDENTITY);
   125     private final EconomicMap<Class<? extends Architecture>, HotSpotBackend> backends = EconomicMap.create(Equivalence.IDENTITY);