Mercurial > hg > truffle
comparison src/share/vm/shark/sharkCompiler.cpp @ 7226:8a3efb8c831d
Merge.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 14 Dec 2012 13:02:49 +0100 |
parents | 5d0bb7d52783 |
children | 291ffc492eb6 |
comparison
equal
deleted
inserted
replaced
7225:31c4d9f9e922 | 7226:8a3efb8c831d |
---|---|
58 cl::CommaSeparated); | 58 cl::CommaSeparated); |
59 } | 59 } |
60 #endif | 60 #endif |
61 | 61 |
62 SharkCompiler::SharkCompiler() | 62 SharkCompiler::SharkCompiler() |
63 : AbstractCompiler() { | 63 : AbstractCompiler(shark) { |
64 // Create the lock to protect the memory manager and execution engine | 64 // Create the lock to protect the memory manager and execution engine |
65 _execution_engine_lock = new Monitor(Mutex::leaf, "SharkExecutionEngineLock"); | 65 _execution_engine_lock = new Monitor(Mutex::leaf, "SharkExecutionEngineLock"); |
66 MutexLocker locker(execution_engine_lock()); | 66 MutexLocker locker(execution_engine_lock()); |
67 | 67 |
68 // Make LLVM safe for multithreading | 68 // Make LLVM safe for multithreading |