From db2633ce0358c704f97130a94b582602cb01d14a Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Fri, 16 May 2014 09:59:29 -0700 Subject: Change ObjectLock to take Handle instead of Handle pointer. Change-Id: I9abdcdc5c9c9174634336b9250ab24c6aee434ec --- compiler/driver/compiler_driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/driver/compiler_driver.cc') diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 55ba64370b..b48be587d6 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -1706,7 +1706,7 @@ static void InitializeClass(const ParallelCompilationManager* manager, size_t cl // We need to use an ObjectLock due to potential suspension in the interpreting code. Rather // than use a special Object for the purpose we use the Class of java.lang.Class. Handle h_klass(hs.NewHandle(klass->GetClass())); - ObjectLock lock(soa.Self(), &h_klass); + ObjectLock lock(soa.Self(), h_klass); // Attempt to initialize allowing initialization of parent classes but still not static // fields. manager->GetClassLinker()->EnsureInitialized(klass, false, true); -- cgit v1.2.3-59-g8ed1b