src/share/vm/prims/jvmtiTagMap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/prims/jvmtiTagMap.cpp Mon Apr 29 18:22:14 2013
--- new/src/share/vm/prims/jvmtiTagMap.cpp Mon Apr 29 18:22:13 2013
*** 151,161 ****
--- 151,162 ----
_resize_threshold = (int)(_load_factor * _size);
_resizing_enabled = true;
size_t s = initial_size * sizeof(JvmtiTagHashmapEntry*);
_table = (JvmtiTagHashmapEntry**)os::malloc(s, mtInternal);
if (_table == NULL) {
! vm_exit_out_of_memory(s, "unable to allocate initial hashtable for jvmti object tags");
! vm_exit_out_of_memory(s, OOM_MALLOC_ERROR,
+ "unable to allocate initial hashtable for jvmti object tags");
}
for (int i=0; i<initial_size; i++) {
_table[i] = NULL;
}
}
src/share/vm/prims/jvmtiTagMap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File