< prev index next >

src/hotspot/share/runtime/os.cpp

Print this page
*** 794,11 ***
    }
    return ptr;
  #endif
  }
  
! 
  void  os::free(void *memblock) {
    NOT_PRODUCT(inc_stat_counter(&num_frees, 1));
  #ifdef ASSERT
    if (memblock == NULL) return;
    if ((intptr_t)memblock == (intptr_t)MallocCatchPtr) {
--- 794,11 ---
    }
    return ptr;
  #endif
  }
  
! // handles NULL pointers
  void  os::free(void *memblock) {
    NOT_PRODUCT(inc_stat_counter(&num_frees, 1));
  #ifdef ASSERT
    if (memblock == NULL) return;
    if ((intptr_t)memblock == (intptr_t)MallocCatchPtr) {
< prev index next >