Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/handles.cpp @ 6867:bdb5f8c9978b
7199068: NPG: SharedSkipVerify is meaningless
Summary: Remove the SharedSkipVerify flag
Reviewed-by: kamg, sspitsyn, coleenp
Contributed-by: harold.seigel@oracle.com
author | coleenp |
---|---|
date | Wed, 10 Oct 2012 17:04:33 -0400 |
parents | da91efe96a93 |
children | 716c64bda5ba |
comparison
equal
deleted
inserted
replaced
6842:b9a9ed0f8eeb | 6867:bdb5f8c9978b |
---|---|
46 | 46 |
47 #ifdef ASSERT | 47 #ifdef ASSERT |
48 oop* HandleArea::allocate_handle(oop obj) { | 48 oop* HandleArea::allocate_handle(oop obj) { |
49 assert(_handle_mark_nesting > 1, "memory leak: allocating handle outside HandleMark"); | 49 assert(_handle_mark_nesting > 1, "memory leak: allocating handle outside HandleMark"); |
50 assert(_no_handle_mark_nesting == 0, "allocating handle inside NoHandleMark"); | 50 assert(_no_handle_mark_nesting == 0, "allocating handle inside NoHandleMark"); |
51 assert(SharedSkipVerify || obj->is_oop(), "sanity check"); | 51 assert(obj->is_oop(), "sanity check"); |
52 return real_allocate_handle(obj); | 52 return real_allocate_handle(obj); |
53 } | 53 } |
54 | 54 |
55 Handle::Handle(Thread* thread, oop obj) { | 55 Handle::Handle(Thread* thread, oop obj) { |
56 assert(thread == Thread::current(), "sanity check"); | 56 assert(thread == Thread::current(), "sanity check"); |