comparison hotspot/src/share/vm/utilities/growableArray.cpp @ 46545:b970b6e40209

8181450: assert in BasicHashtable::verify_table Summary: remove assert as it has small probability of happening and added logging Reviewed-by: kbarrett, sspitsyn
author coleenp
date Fri, 16 Jun 2017 09:13:56 -0400
parents e5b53c306fb5
children
comparison
equal deleted inserted replaced
6:2b870fa1ed56 7:27980fa323c4
22 * 22 *
23 */ 23 */
24 24
25 #include "precompiled.hpp" 25 #include "precompiled.hpp"
26 #include "memory/resourceArea.hpp" 26 #include "memory/resourceArea.hpp"
27 #include "runtime/thread.inline.hpp"
27 #include "utilities/growableArray.hpp" 28 #include "utilities/growableArray.hpp"
28 #ifdef TARGET_OS_FAMILY_linux 29
29 # include "thread_linux.inline.hpp"
30 #endif
31 #ifdef TARGET_OS_FAMILY_solaris
32 # include "thread_solaris.inline.hpp"
33 #endif
34 #ifdef TARGET_OS_FAMILY_windows
35 # include "thread_windows.inline.hpp"
36 #endif
37 #ifdef TARGET_OS_FAMILY_bsd
38 # include "thread_bsd.inline.hpp"
39 #endif
40 #ifdef ASSERT 30 #ifdef ASSERT
41 void GenericGrowableArray::set_nesting() { 31 void GenericGrowableArray::set_nesting() {
42 if (on_stack()) { 32 if (on_stack()) {
43 _nesting = Thread::current()->resource_area()->nesting(); 33 _nesting = Thread::current()->resource_area()->nesting();
44 } 34 }