8252530: Fix inconsistencies in hotspot whitebox

Reviewed-by: dholmes, amenkov
This commit is contained in:
Philippe Marschall 2021-05-12 23:14:30 +00:00 committed by David Holmes
parent 2568d181a7
commit ab17be2835
6 changed files with 21 additions and 17 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@ -39,8 +39,8 @@ public class Compiler {
*
* @return true if either C2 or JVMCI were included in the VM build.
*/
public static boolean isC2OrJVMCIIncludedInVmBuild() {
return WB.isC2OrJVMCIIncludedInVmBuild();
public static boolean isC2OrJVMCIIncluded() {
return WB.isC2OrJVMCIIncluded();
}
/**