< prev index next >

src/hotspot/share/classfile/vmSymbols.cpp

Print this page




 360   case vmIntrinsics::_intBitsToFloat:
 361   case vmIntrinsics::_doubleToRawLongBits:
 362   case vmIntrinsics::_longBitsToDouble:
 363   case vmIntrinsics::_getClass:
 364   case vmIntrinsics::_isInstance:
 365   case vmIntrinsics::_currentThread:
 366   case vmIntrinsics::_dabs:
 367   case vmIntrinsics::_fabs:
 368   case vmIntrinsics::_iabs:
 369   case vmIntrinsics::_labs:
 370   case vmIntrinsics::_dsqrt:
 371   case vmIntrinsics::_dsin:
 372   case vmIntrinsics::_dcos:
 373   case vmIntrinsics::_dtan:
 374   case vmIntrinsics::_dlog:
 375   case vmIntrinsics::_dlog10:
 376   case vmIntrinsics::_dexp:
 377   case vmIntrinsics::_dpow:
 378   case vmIntrinsics::_checkIndex:
 379   case vmIntrinsics::_Reference_get:




 380   case vmIntrinsics::_updateCRC32:
 381   case vmIntrinsics::_updateBytesCRC32:
 382   case vmIntrinsics::_updateByteBufferCRC32:
 383   case vmIntrinsics::_vectorizedMismatch:
 384   case vmIntrinsics::_fmaD:
 385   case vmIntrinsics::_fmaF:
 386   case vmIntrinsics::_isDigit:
 387   case vmIntrinsics::_isLowerCase:
 388   case vmIntrinsics::_isUpperCase:
 389   case vmIntrinsics::_isWhitespace:
 390     return true;
 391   default:
 392     return false;
 393   }
 394 }
 395 
 396 bool vmIntrinsics::can_trap(vmIntrinsics::ID id) {
 397   assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
 398   switch(id) {
 399 #ifdef JFR_HAVE_INTRINSICS


 528     case vmIntrinsics::_compareToUL:
 529     case vmIntrinsics::_equalsL:
 530     case vmIntrinsics::_equalsU:
 531     case vmIntrinsics::_equalsC:
 532     case vmIntrinsics::_getCharStringU:
 533     case vmIntrinsics::_putCharStringU:
 534     case vmIntrinsics::_compressStringC:
 535     case vmIntrinsics::_compressStringB:
 536     case vmIntrinsics::_inflateStringC:
 537     case vmIntrinsics::_inflateStringB:
 538     case vmIntrinsics::_getAndAddInt:
 539     case vmIntrinsics::_getAndAddLong:
 540     case vmIntrinsics::_getAndSetInt:
 541     case vmIntrinsics::_getAndSetLong:
 542     case vmIntrinsics::_getAndSetReference:
 543     case vmIntrinsics::_loadFence:
 544     case vmIntrinsics::_storeFence:
 545     case vmIntrinsics::_fullFence:
 546     case vmIntrinsics::_hasNegatives:
 547     case vmIntrinsics::_Reference_get:




 548       break;
 549     default:
 550       return true;
 551     }
 552   }
 553 
 554   switch (id) {
 555   case vmIntrinsics::_isInstance:
 556   case vmIntrinsics::_isAssignableFrom:
 557   case vmIntrinsics::_getModifiers:
 558   case vmIntrinsics::_isInterface:
 559   case vmIntrinsics::_isArray:
 560   case vmIntrinsics::_isPrimitive:
 561   case vmIntrinsics::_getSuperclass:
 562   case vmIntrinsics::_Class_cast:
 563   case vmIntrinsics::_getLength:
 564   case vmIntrinsics::_newArray:
 565   case vmIntrinsics::_getClass:
 566     if (!InlineClassNatives) return true;
 567     break;




 360   case vmIntrinsics::_intBitsToFloat:
 361   case vmIntrinsics::_doubleToRawLongBits:
 362   case vmIntrinsics::_longBitsToDouble:
 363   case vmIntrinsics::_getClass:
 364   case vmIntrinsics::_isInstance:
 365   case vmIntrinsics::_currentThread:
 366   case vmIntrinsics::_dabs:
 367   case vmIntrinsics::_fabs:
 368   case vmIntrinsics::_iabs:
 369   case vmIntrinsics::_labs:
 370   case vmIntrinsics::_dsqrt:
 371   case vmIntrinsics::_dsin:
 372   case vmIntrinsics::_dcos:
 373   case vmIntrinsics::_dtan:
 374   case vmIntrinsics::_dlog:
 375   case vmIntrinsics::_dlog10:
 376   case vmIntrinsics::_dexp:
 377   case vmIntrinsics::_dpow:
 378   case vmIntrinsics::_checkIndex:
 379   case vmIntrinsics::_Reference_get:
 380   case vmIntrinsics::_Continuation_doContinue:
 381   case vmIntrinsics::_Continuation_doYield:
 382   case vmIntrinsics::_Continuation_jump:
 383   case vmIntrinsics::_Continuation_getSP:
 384   case vmIntrinsics::_updateCRC32:
 385   case vmIntrinsics::_updateBytesCRC32:
 386   case vmIntrinsics::_updateByteBufferCRC32:
 387   case vmIntrinsics::_vectorizedMismatch:
 388   case vmIntrinsics::_fmaD:
 389   case vmIntrinsics::_fmaF:
 390   case vmIntrinsics::_isDigit:
 391   case vmIntrinsics::_isLowerCase:
 392   case vmIntrinsics::_isUpperCase:
 393   case vmIntrinsics::_isWhitespace:
 394     return true;
 395   default:
 396     return false;
 397   }
 398 }
 399 
 400 bool vmIntrinsics::can_trap(vmIntrinsics::ID id) {
 401   assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
 402   switch(id) {
 403 #ifdef JFR_HAVE_INTRINSICS


 532     case vmIntrinsics::_compareToUL:
 533     case vmIntrinsics::_equalsL:
 534     case vmIntrinsics::_equalsU:
 535     case vmIntrinsics::_equalsC:
 536     case vmIntrinsics::_getCharStringU:
 537     case vmIntrinsics::_putCharStringU:
 538     case vmIntrinsics::_compressStringC:
 539     case vmIntrinsics::_compressStringB:
 540     case vmIntrinsics::_inflateStringC:
 541     case vmIntrinsics::_inflateStringB:
 542     case vmIntrinsics::_getAndAddInt:
 543     case vmIntrinsics::_getAndAddLong:
 544     case vmIntrinsics::_getAndSetInt:
 545     case vmIntrinsics::_getAndSetLong:
 546     case vmIntrinsics::_getAndSetReference:
 547     case vmIntrinsics::_loadFence:
 548     case vmIntrinsics::_storeFence:
 549     case vmIntrinsics::_fullFence:
 550     case vmIntrinsics::_hasNegatives:
 551     case vmIntrinsics::_Reference_get:
 552     case vmIntrinsics::_Continuation_doContinue:
 553     case vmIntrinsics::_Continuation_doYield:
 554     case vmIntrinsics::_Continuation_jump:
 555     case vmIntrinsics::_Continuation_getSP:
 556       break;
 557     default:
 558       return true;
 559     }
 560   }
 561 
 562   switch (id) {
 563   case vmIntrinsics::_isInstance:
 564   case vmIntrinsics::_isAssignableFrom:
 565   case vmIntrinsics::_getModifiers:
 566   case vmIntrinsics::_isInterface:
 567   case vmIntrinsics::_isArray:
 568   case vmIntrinsics::_isPrimitive:
 569   case vmIntrinsics::_getSuperclass:
 570   case vmIntrinsics::_Class_cast:
 571   case vmIntrinsics::_getLength:
 572   case vmIntrinsics::_newArray:
 573   case vmIntrinsics::_getClass:
 574     if (!InlineClassNatives) return true;
 575     break;


< prev index next >