8029305: add type tag to AbstractCompiler

Reviewed-by: iveresov, kvn
This commit is contained in:
Christian Thalinger 2014-01-06 17:23:07 -08:00
parent 618ee38356
commit 76a9fa693d
5 changed files with 27 additions and 35 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010, 2011 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@ -58,7 +58,7 @@ namespace {
}
SharkCompiler::SharkCompiler()
: AbstractCompiler() {
: AbstractCompiler(shark) {
// Create the lock to protect the memory manager and execution engine
_execution_engine_lock = new Monitor(Mutex::leaf, "SharkExecutionEngineLock");
MutexLocker locker(execution_engine_lock());