965 |
965 |
966 |
966 |
967 // (These must be implemented as #defines because C++ compilers are |
967 // (These must be implemented as #defines because C++ compilers are |
968 // not obligated to inline non-integral constants!) |
968 // not obligated to inline non-integral constants!) |
969 #define badAddress ((address)::badAddressVal) |
969 #define badAddress ((address)::badAddressVal) |
970 #define badOop ((oop)::badOopVal) |
970 #define badOop (cast_to_oop(::badOopVal)) |
971 #define badHeapWord (::badHeapWordVal) |
971 #define badHeapWord (::badHeapWordVal) |
972 #define badJNIHandle ((oop)::badJNIHandleVal) |
972 #define badJNIHandle (cast_to_oop(::badJNIHandleVal)) |
973 |
973 |
974 // Default TaskQueue size is 16K (32-bit) or 128K (64-bit) |
974 // Default TaskQueue size is 16K (32-bit) or 128K (64-bit) |
975 #define TASKQUEUE_SIZE (NOT_LP64(1<<14) LP64_ONLY(1<<17)) |
975 #define TASKQUEUE_SIZE (NOT_LP64(1<<14) LP64_ONLY(1<<17)) |
976 |
976 |
977 //---------------------------------------------------------------------------------------------------- |
977 //---------------------------------------------------------------------------------------------------- |