Mercurial > hg > truffle
diff src/share/vm/graal/graalCompiler.cpp @ 18119:6997fce99fa3
graal/hotspot: fix memleak
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Fri, 17 Oct 2014 13:33:31 +0200 |
parents | e98942f26fa4 |
children | 6a2f814224b1 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Fri Oct 17 11:59:55 2014 +0200 +++ b/src/share/vm/graal/graalCompiler.cpp Fri Oct 17 13:33:31 2014 +0200 @@ -170,6 +170,7 @@ // We turn off CompileTheWorld so that Graal can // be compiled by C1/C2 when Graal does a CTW. CompileTheWorld = false; + HandleMark hm; JavaThread* THREAD = JavaThread::current(); TempNewSymbol name = SymbolTable::new_symbol("com/oracle/graal/hotspot/HotSpotGraalRuntime", CHECK_ABORT);