8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package

Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
This commit is contained in:
Philippe Marschall 2020-09-30 20:05:07 +00:00 committed by Vladimir Kozlov
parent 4b16f8ab94
commit 2a406f3ce5
64 changed files with 488 additions and 488 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2020, 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
@ -695,7 +695,7 @@ abstract class MethodHandleImpl {
// Intrinsified by C2. Counters are used during parsing to calculate branch frequencies.
@Hidden
@jdk.internal.HotSpotIntrinsicCandidate
@jdk.internal.vm.annotation.IntrinsicCandidate
static boolean profileBoolean(boolean result, int[] counters) {
// Profile is int[2] where [0] and [1] correspond to false and true occurrences respectively.
int idx = result ? 1 : 0;
@ -710,7 +710,7 @@ abstract class MethodHandleImpl {
// Intrinsified by C2. Returns true if obj is a compile-time constant.
@Hidden
@jdk.internal.HotSpotIntrinsicCandidate
@jdk.internal.vm.annotation.IntrinsicCandidate
static boolean isCompileConstant(Object obj) {
return false;
}