class VmoClone2TestCase_DropParentCommittedBytes_Class

Defined at line 2120 of file ../../zircon/system/utest/core/vmo/vmo-clone2.cc

Regression test for https://fxbug.dev/42080199. The hierarchy generation count was previously

incremented in the VmObjectPaged destructor, not in the VmCowPages destructor. But the actual

changes to the page list take place in the VmCowPages destructor, which would affect attribution

counts. We drop the lock between invoking the two destructors, so it was possible for someone to

query the attribution count in between and see an old cached count.

Public Methods

void VmoClone2TestCase_DropParentCommittedBytes_Class ()

Defined at line 2120 of file ../../zircon/system/utest/core/vmo/vmo-clone2.cc

void ~VmoClone2TestCase_DropParentCommittedBytes_Class ()

Defined at line 2120 of file ../../zircon/system/utest/core/vmo/vmo-clone2.cc