Mercurial > hg > graal-jvmci-8
changeset 23719:a52d7039723b
fixed checkstyle issues
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 01 Jul 2016 21:21:42 +0200 |
parents | 0bd91cd9869d |
children | 286b19732922 |
files | jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodDataAccessor.java jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/LocalVariableTable.java |
diffstat | 3 files changed, 27 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java Thu Jun 30 22:08:57 2016 +0200 +++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodData.java Fri Jul 01 21:21:42 2016 +0200 @@ -55,7 +55,7 @@ final long metaspaceMethodData; @SuppressWarnings("unused") private final HotSpotResolvedJavaMethodImpl method; - public HotSpotMethodData(long metaspaceMethodData, HotSpotResolvedJavaMethodImpl method) { + HotSpotMethodData(long metaspaceMethodData, HotSpotResolvedJavaMethodImpl method) { this.metaspaceMethodData = metaspaceMethodData; this.method = method; } @@ -822,10 +822,10 @@ private static boolean checkAccessorTags() { int expectedTag = 0; for (HotSpotMethodDataAccessor accessor : PROFILE_DATA_ACCESSORS) { - if (expectedTag ==0 ) { + if (expectedTag == 0) { assert accessor == null; } else { - assert accessor.tag == expectedTag: expectedTag + " != " + accessor.tag + " " + accessor; + assert accessor.tag == expectedTag : expectedTag + " != " + accessor.tag + " " + accessor; } expectedTag++; }
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodDataAccessor.java Thu Jun 30 22:08:57 2016 +0200 +++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodDataAccessor.java Fri Jul 01 21:21:42 2016 +0200 @@ -1,3 +1,25 @@ +/* + * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ package jdk.vm.ci.hotspot; import jdk.vm.ci.meta.JavaMethodProfile;
--- a/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/LocalVariableTable.java Thu Jun 30 22:08:57 2016 +0200 +++ b/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/LocalVariableTable.java Fri Jul 01 21:21:42 2016 +0200 @@ -47,7 +47,7 @@ /** * Gets a description of a local variable that occupies the bytecode frame slot indexed by - * {@code slot} and is live at the bytecode index {@code bci} + * {@code slot} and is live at the bytecode index {@code bci}. * * @return a description of the requested local variable or null if no such variable matches * {@code slot} and {@code bci} @@ -74,7 +74,7 @@ } /** - * Gets a description of all the local variables live at the bytecode index {@code bci} + * Gets a description of all the local variables live at the bytecode index {@code bci}. */ public Local[] getLocalsAt(int bci) { List<Local> result = new ArrayList<>();