Bug 312711

Summary: better cflow counter/stack names
Product: [Tools] AspectJ Reporter: Andrew Clement <aclement>
Component: CompilerAssignee: Andrew Clement <aclement>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: DEVELOPMENT   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Andrew Clement CLA 2010-05-12 16:38:08 EDT
The numeric suffixes attached to these fields are a bit fragile - I'd like to change them to be a hashCode of the pointcut so here:

cflow(execution(* main(..)) 

the corresponding field would be ajc$cflowCounter$NNN where NNN is the hashCode of 'execution(* main(..))'

Right now it is simply a number that represents how many other cflows are around.

If I do this, we will be moving to a mode where cflows() can share counters/stacks.  This is cool but (definetly in the case of stacks) we will have to be careful the logic to push/pop isn't duplicated - that would be a real waste.
Comment 1 Andrew Clement CLA 2013-06-24 11:03:33 EDT
unsetting the target field which is currently set for something already released