src/share/vm/utilities/globalDefinitions.hpp

changeset 5784
190899198332
parent 5578
4c84d351cca9
child 5850
c90e76575b03
     1.1 --- a/src/share/vm/utilities/globalDefinitions.hpp	Wed Sep 25 17:47:51 2013 +0200
     1.2 +++ b/src/share/vm/utilities/globalDefinitions.hpp	Thu Sep 26 10:25:02 2013 -0400
     1.3 @@ -967,9 +967,9 @@
     1.4  // (These must be implemented as #defines because C++ compilers are
     1.5  // not obligated to inline non-integral constants!)
     1.6  #define       badAddress        ((address)::badAddressVal)
     1.7 -#define       badOop            ((oop)::badOopVal)
     1.8 +#define       badOop            (cast_to_oop(::badOopVal))
     1.9  #define       badHeapWord       (::badHeapWordVal)
    1.10 -#define       badJNIHandle      ((oop)::badJNIHandleVal)
    1.11 +#define       badJNIHandle      (cast_to_oop(::badJNIHandleVal))
    1.12  
    1.13  // Default TaskQueue size is 16K (32-bit) or 128K (64-bit)
    1.14  #define TASKQUEUE_SIZE (NOT_LP64(1<<14) LP64_ONLY(1<<17))

mercurial