Class Numbering
We should change the simple recursive class numbering to an iterative algorithm that renumbers as few classes as possible.
Taker: Christian Ullrich
TODO:
Review thread-safety of the subclass tests. Subclass tests can be performed while another thread changes the class hierarchy!
The algorithm should be prepared for ClassUnloading. (I excpect this to be the smaller problem than thread-safety.) - Add new classes at the end of the children list instead of in the front.
- Make the subclass calculation only traverse the part of the class tree that has really changed (ie. the new subtree and all of its parents and their "right" siblings). You can imagine a line from the new class up to java.lang.Object. Everything on that line or to the "right" of it must be updated.