Mercurial > hg > graal-compiler
changeset 19603:1deff4ac56c3
Use correct Thread when constructing handle
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 25 Feb 2015 19:03:26 -0800 |
parents | b6beb2161e7a |
children | dcfdd60edaf1 |
files | src/share/vm/runtime/vframe.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/vframe.cpp Wed Feb 25 19:02:00 2015 -0800 +++ b/src/share/vm/runtime/vframe.cpp Wed Feb 25 19:03:26 2015 -0800 @@ -274,7 +274,7 @@ // Get oopmap describing oops and int for current bci InterpreterOopMap oop_mask; if ((TraceDeoptimization && Verbose) GRAAL_ONLY( || PrintDeoptimizationDetails)) { - methodHandle m_h(thread(), method()); + methodHandle m_h(Thread::current(), method()); OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask); } else { method()->mask_for(bci(), &oop_mask);