--- 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 @@ -153,7 +153,8 @@ 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