< prev index next >

src/hotspot/share/classfile/vmSymbols.cpp

Print this page




 345   case vmIntrinsics::_currentTimeMillis:
 346   case vmIntrinsics::_nanoTime:
 347   case vmIntrinsics::_floatToRawIntBits:
 348   case vmIntrinsics::_intBitsToFloat:
 349   case vmIntrinsics::_doubleToRawLongBits:
 350   case vmIntrinsics::_longBitsToDouble:
 351   case vmIntrinsics::_getClass:
 352   case vmIntrinsics::_isInstance:
 353   case vmIntrinsics::_currentThread:
 354   case vmIntrinsics::_dabs:
 355   case vmIntrinsics::_dsqrt:
 356   case vmIntrinsics::_dsin:
 357   case vmIntrinsics::_dcos:
 358   case vmIntrinsics::_dtan:
 359   case vmIntrinsics::_dlog:
 360   case vmIntrinsics::_dlog10:
 361   case vmIntrinsics::_dexp:
 362   case vmIntrinsics::_dpow:
 363   case vmIntrinsics::_checkIndex:
 364   case vmIntrinsics::_Reference_get:

 365   case vmIntrinsics::_updateCRC32:
 366   case vmIntrinsics::_updateBytesCRC32:
 367   case vmIntrinsics::_updateByteBufferCRC32:
 368   case vmIntrinsics::_vectorizedMismatch:
 369   case vmIntrinsics::_fmaD:
 370   case vmIntrinsics::_fmaF:
 371     return true;
 372   default:
 373     return false;
 374   }
 375 }
 376 
 377 bool vmIntrinsics::can_trap(vmIntrinsics::ID id) {
 378   assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
 379   switch(id) {
 380 #ifdef TRACE_HAVE_INTRINSICS
 381   case vmIntrinsics::_counterTime:
 382   case vmIntrinsics::_getClassId:
 383 #endif
 384   case vmIntrinsics::_currentTimeMillis:


 505     case vmIntrinsics::_compareToUL:
 506     case vmIntrinsics::_equalsL:
 507     case vmIntrinsics::_equalsU:
 508     case vmIntrinsics::_equalsC:
 509     case vmIntrinsics::_getCharStringU:
 510     case vmIntrinsics::_putCharStringU:
 511     case vmIntrinsics::_compressStringC:
 512     case vmIntrinsics::_compressStringB:
 513     case vmIntrinsics::_inflateStringC:
 514     case vmIntrinsics::_inflateStringB:
 515     case vmIntrinsics::_getAndAddInt:
 516     case vmIntrinsics::_getAndAddLong:
 517     case vmIntrinsics::_getAndSetInt:
 518     case vmIntrinsics::_getAndSetLong:
 519     case vmIntrinsics::_getAndSetObject:
 520     case vmIntrinsics::_loadFence:
 521     case vmIntrinsics::_storeFence:
 522     case vmIntrinsics::_fullFence:
 523     case vmIntrinsics::_hasNegatives:
 524     case vmIntrinsics::_Reference_get:

 525       break;
 526     default:
 527       return true;
 528     }
 529   }
 530 
 531   switch (id) {
 532   case vmIntrinsics::_isInstance:
 533   case vmIntrinsics::_isAssignableFrom:
 534   case vmIntrinsics::_getModifiers:
 535   case vmIntrinsics::_isInterface:
 536   case vmIntrinsics::_isArray:
 537   case vmIntrinsics::_isPrimitive:
 538   case vmIntrinsics::_getSuperclass:
 539   case vmIntrinsics::_Class_cast:
 540   case vmIntrinsics::_getLength:
 541   case vmIntrinsics::_newArray:
 542   case vmIntrinsics::_getClass:
 543     if (!InlineClassNatives) return true;
 544     break;




 345   case vmIntrinsics::_currentTimeMillis:
 346   case vmIntrinsics::_nanoTime:
 347   case vmIntrinsics::_floatToRawIntBits:
 348   case vmIntrinsics::_intBitsToFloat:
 349   case vmIntrinsics::_doubleToRawLongBits:
 350   case vmIntrinsics::_longBitsToDouble:
 351   case vmIntrinsics::_getClass:
 352   case vmIntrinsics::_isInstance:
 353   case vmIntrinsics::_currentThread:
 354   case vmIntrinsics::_dabs:
 355   case vmIntrinsics::_dsqrt:
 356   case vmIntrinsics::_dsin:
 357   case vmIntrinsics::_dcos:
 358   case vmIntrinsics::_dtan:
 359   case vmIntrinsics::_dlog:
 360   case vmIntrinsics::_dlog10:
 361   case vmIntrinsics::_dexp:
 362   case vmIntrinsics::_dpow:
 363   case vmIntrinsics::_checkIndex:
 364   case vmIntrinsics::_Reference_get:
 365   case vmIntrinsics::_Continuation_run:
 366   case vmIntrinsics::_updateCRC32:
 367   case vmIntrinsics::_updateBytesCRC32:
 368   case vmIntrinsics::_updateByteBufferCRC32:
 369   case vmIntrinsics::_vectorizedMismatch:
 370   case vmIntrinsics::_fmaD:
 371   case vmIntrinsics::_fmaF:
 372     return true;
 373   default:
 374     return false;
 375   }
 376 }
 377 
 378 bool vmIntrinsics::can_trap(vmIntrinsics::ID id) {
 379   assert(id != vmIntrinsics::_none, "must be a VM intrinsic");
 380   switch(id) {
 381 #ifdef TRACE_HAVE_INTRINSICS
 382   case vmIntrinsics::_counterTime:
 383   case vmIntrinsics::_getClassId:
 384 #endif
 385   case vmIntrinsics::_currentTimeMillis:


 506     case vmIntrinsics::_compareToUL:
 507     case vmIntrinsics::_equalsL:
 508     case vmIntrinsics::_equalsU:
 509     case vmIntrinsics::_equalsC:
 510     case vmIntrinsics::_getCharStringU:
 511     case vmIntrinsics::_putCharStringU:
 512     case vmIntrinsics::_compressStringC:
 513     case vmIntrinsics::_compressStringB:
 514     case vmIntrinsics::_inflateStringC:
 515     case vmIntrinsics::_inflateStringB:
 516     case vmIntrinsics::_getAndAddInt:
 517     case vmIntrinsics::_getAndAddLong:
 518     case vmIntrinsics::_getAndSetInt:
 519     case vmIntrinsics::_getAndSetLong:
 520     case vmIntrinsics::_getAndSetObject:
 521     case vmIntrinsics::_loadFence:
 522     case vmIntrinsics::_storeFence:
 523     case vmIntrinsics::_fullFence:
 524     case vmIntrinsics::_hasNegatives:
 525     case vmIntrinsics::_Reference_get:
 526     case vmIntrinsics::_Continuation_run:
 527     break;
 528     default:
 529       return true;
 530     }
 531   }
 532 
 533   switch (id) {
 534   case vmIntrinsics::_isInstance:
 535   case vmIntrinsics::_isAssignableFrom:
 536   case vmIntrinsics::_getModifiers:
 537   case vmIntrinsics::_isInterface:
 538   case vmIntrinsics::_isArray:
 539   case vmIntrinsics::_isPrimitive:
 540   case vmIntrinsics::_getSuperclass:
 541   case vmIntrinsics::_Class_cast:
 542   case vmIntrinsics::_getLength:
 543   case vmIntrinsics::_newArray:
 544   case vmIntrinsics::_getClass:
 545     if (!InlineClassNatives) return true;
 546     break;


< prev index next >