Commit bc1e0fab authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Reduce class loader updating overhead.

Avoid unnecessary read barrier for comparing class loader agianst
null. Avoid transaction check.

Deleted the helper class to simplify the code.

The time goes from ~3.8ms to ~2.9ms on Maps.

Test: test-art-host
Bug: 116052292

Change-Id: I4a966a9bb39400ba58d7cf3e0b2c8ab4747d65ed
parent 0bcbe939
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment