pooled_mark_stacks: Add extra logging

Maintain a map of thread and its associated mark stack. Everytime when
the pooled_mark_stacks_ is of same size as kMarkStackPoolSize, this map
should be empty. Also, there should not be any entry in the map for a
destroying thread.

This change is to be reverted once the bug is fixed.

Bug: 140119552
Test: art/test/testrunner/testrunner.py
Change-Id: I415ccd210985878dd6689ee2ef1e35712d464150
3 files changed