@@ -27,9 +27,6 @@ class MessageStructures {
2727 /** A Map for each PE, key = eventID value = Message */
2828 private Map <Integer , TimelineMessage > []eventIDToMessageMap ;
2929
30- /** A Map for each PE, key = eventID value = EntryMethodObject */
31- private Map <Integer , EntryMethodObject > []eventIDToEntryMethodMap ;
32-
3330 /** Map from Chare Array element id's to the corresponding known entry method invocations */
3431 private Map <ObjectId , List <EntryMethodObject > > oidToEntryMethodObjectsMap ;
3532
@@ -50,10 +47,6 @@ private void init(){
5047 eventIDToMessageMap = new HashMap [pe ];
5148 for (int i =0 ;i <pe ;i ++)
5249 eventIDToMessageMap [i ] = new HashMap ();
53-
54- eventIDToEntryMethodMap = new HashMap [pe ];
55- for (int i =0 ;i <pe ;i ++)
56- eventIDToEntryMethodMap [i ] = new HashMap ();
5750
5851 oidToEntryMethodObjectsMap = new TreeMap <>();
5952 }
@@ -90,14 +83,6 @@ public Map<ObjectId, List<EntryMethodObject>> getOidToEntryMethodObjectsMap() {
9083 return oidToEntryMethodObjectsMap ;
9184 }
9285
93- public void setEventIDToEntryMethodMap (Map [] eventIDToEntryMethodMap ) {
94- this .eventIDToEntryMethodMap = eventIDToEntryMethodMap ;
95- }
96-
97- public Map [] getEventIDToEntryMethodMap () {
98- return eventIDToEntryMethodMap ;
99- }
100-
10186 protected void kill () {
10287 if (secondaryWorkers != null ){
10388 secondaryWorkers .stopThread ();
@@ -131,29 +116,6 @@ protected void generate(ThreadMessageStructures structures){
131116 }
132117 }
133118
134-
135- /** Create a mapping from Entry Method EventIDs on each pe to EntryMethods */
136-
137- pe_iter = data .allEntryMethodObjects .keySet ().iterator ();
138- while (pe_iter .hasNext ()){
139-
140- if (structures !=null ) {
141- synchronized (structures ){
142- if (structures .stop )
143- return ;
144- }
145- }
146-
147- Integer pe = pe_iter .next ();
148- Query1D <EntryMethodObject > objs = data .allEntryMethodObjects .get (pe );
149- Iterator <EntryMethodObject > obj_iter = objs .iterator ();
150- while (obj_iter .hasNext ()){
151- EntryMethodObject obj = obj_iter .next ();
152- getEventIDToEntryMethodMap ()[pe .intValue ()].put (Integer .valueOf (obj .EventID ), obj );
153- }
154- }
155-
156-
157119 /** Create a mapping from TimelineMessage objects to a set of the resulting execution EntryMethod objects */
158120
159121 pe_iter = data .allEntryMethodObjects .keySet ().iterator ();
@@ -223,8 +185,6 @@ protected void clearAll(){
223185 int pe = eventIDToMessageMap .length ;
224186 for (int i =0 ;i <pe ;i ++)
225187 eventIDToMessageMap [i ].clear ();
226- for (int i =0 ;i <pe ;i ++)
227- eventIDToEntryMethodMap [i ].clear ();
228188 oidToEntryMethodObjectsMap .clear ();
229189 }
230190 }
0 commit comments