src/hotspot/share/utilities/vmError.cpp
changeset 48824 e48c4461a8bb
parent 48617 01b07229a6ad
child 49176 f413e471a6ab
equal deleted inserted replaced
48823:99c973b56994 48824:e48c4461a8bb
   478     }
   478     }
   479 #endif // PRODUCT
   479 #endif // PRODUCT
   480 
   480 
   481   STEP("printing type of error")
   481   STEP("printing type of error")
   482 
   482 
   483      switch(_id) {
   483      switch(static_cast<unsigned int>(_id)) {
   484        case OOM_MALLOC_ERROR:
   484        case OOM_MALLOC_ERROR:
   485        case OOM_MMAP_ERROR:
   485        case OOM_MMAP_ERROR:
   486          if (_size) {
   486          if (_size) {
   487            st->print("# Native memory allocation ");
   487            st->print("# Native memory allocation ");
   488            st->print((_id == (int)OOM_MALLOC_ERROR) ? "(malloc) failed to allocate " :
   488            st->print((_id == (int)OOM_MALLOC_ERROR) ? "(malloc) failed to allocate " :