When creating a new cookie for a java dex file, determine whether it is the same java dex file
We use the first element of the classloader's pathlist as the java dex file to update the cookie every time, but when a thread concurrently adds an element to the top of the classloader's pathlist, the new cookie set to the java dex file later is incorrect
Test: art/test.py -b --host
Signed-off-by: zhaoxuyang.6 <zhaoxuyang.6@bytedance.com>
Change-Id: I46efa2621131898a943a026918a4f550edd2e2d1
1 file changed