OSDN Git Service

Don't use dlopen on host for already loaded oat files.
authorRichard Uhler <ruhler@google.com>
Tue, 24 May 2016 22:04:22 +0000 (15:04 -0700)
committerRichard Uhler <ruhler@google.com>
Fri, 27 May 2016 16:57:28 +0000 (09:57 -0700)
commitaf0e482f81ed77c86b0e67ad5f1a7f7dbefda348
treed3ff11b92d5439f2ca833ba48f381ee86cb2047c
parent6c5b9b91136aa4939d0252eb719c86289c72780e
Don't use dlopen on host for already loaded oat files.

Because the behavior of dlopen on the host is different then the
target in that case, and it causes tests to fail.

Bug: 28826195

(cherry picked from commit a206c745dbb64b14f05c87891d425475c2f6d63a)

Change-Id: I29b04be07b4d26dc1ac5e6f35550745eb15e6728
runtime/base/mutex.cc
runtime/base/mutex.h
runtime/oat_file.cc
runtime/oat_file_manager.cc
runtime/oat_file_manager.h