@@ -1079,7 +1079,7 @@ class AnnotationCollector : public ResourceObj{
10791079 _method_InjectedProfile,
10801080 _method_LambdaForm_Compiled,
10811081 _method_Hidden,
1082- _method_HotSpotIntrinsicCandidate ,
1082+ _method_IntrinsicCandidate ,
10831083 _jdk_internal_vm_annotation_Contended,
10841084 _field_Stable,
10851085 _jdk_internal_vm_annotation_ReservedStackAccess,
@@ -2102,10 +2102,10 @@ AnnotationCollector::annotation_index(const ClassLoaderData* loader_data,
21022102 if (!privileged) break ; // only allow in privileged code
21032103 return _method_Hidden;
21042104 }
2105- case vmSymbols::VM_SYMBOL_ENUM_NAME (jdk_internal_HotSpotIntrinsicCandidate_signature ): {
2105+ case vmSymbols::VM_SYMBOL_ENUM_NAME (jdk_internal_vm_annotation_IntrinsicCandidate_signature ): {
21062106 if (_location != _in_method) break ; // only allow for methods
21072107 if (!privileged) break ; // only allow in privileged code
2108- return _method_HotSpotIntrinsicCandidate ;
2108+ return _method_IntrinsicCandidate ;
21092109 }
21102110 case vmSymbols::VM_SYMBOL_ENUM_NAME (jdk_internal_vm_annotation_Stable_signature): {
21112111 if (_location != _in_field) break ; // only allow for fields
@@ -2159,7 +2159,7 @@ void MethodAnnotationCollector::apply_to(const methodHandle& m) {
21592159 m->set_intrinsic_id (vmIntrinsics::_compiledLambdaForm);
21602160 if (has_annotation (_method_Hidden))
21612161 m->set_hidden (true );
2162- if (has_annotation (_method_HotSpotIntrinsicCandidate ) && !m->is_synthetic ())
2162+ if (has_annotation (_method_IntrinsicCandidate ) && !m->is_synthetic ())
21632163 m->set_intrinsic_candidate (true );
21642164 if (has_annotation (_jdk_internal_vm_annotation_ReservedStackAccess))
21652165 m->set_has_reserved_stack_access (true );
@@ -5165,22 +5165,22 @@ static void check_methods_for_intrinsics(const InstanceKlass* ik,
51655165
51665166 if (CheckIntrinsics) {
51675167 // Check if an intrinsic is defined for method 'method',
5168- // but the method is not annotated with @HotSpotIntrinsicCandidate .
5168+ // but the method is not annotated with @IntrinsicCandidate .
51695169 if (method->intrinsic_id () != vmIntrinsics::_none &&
51705170 !method->intrinsic_candidate ()) {
51715171 tty->print (" Compiler intrinsic is defined for method [%s], "
5172- " but the method is not annotated with @HotSpotIntrinsicCandidate .%s" ,
5172+ " but the method is not annotated with @IntrinsicCandidate .%s" ,
51735173 method->name_and_sig_as_C_string (),
51745174 NOT_DEBUG (" Method will not be inlined." ) DEBUG_ONLY (" Exiting." )
51755175 );
51765176 tty->cr ();
51775177 DEBUG_ONLY (vm_exit (1 ));
51785178 }
5179- // Check is the method 'method' is annotated with @HotSpotIntrinsicCandidate ,
5179+ // Check is the method 'method' is annotated with @IntrinsicCandidate ,
51805180 // but there is no intrinsic available for it.
51815181 if (method->intrinsic_candidate () &&
51825182 method->intrinsic_id () == vmIntrinsics::_none) {
5183- tty->print (" Method [%s] is annotated with @HotSpotIntrinsicCandidate , "
5183+ tty->print (" Method [%s] is annotated with @IntrinsicCandidate , "
51845184 " but no compiler intrinsic is defined for the method.%s" ,
51855185 method->name_and_sig_as_C_string (),
51865186 NOT_DEBUG (" " ) DEBUG_ONLY (" Exiting." )
0 commit comments