@@ -27,9 +27,6 @@ class MessageStructures {
27
27
/** A Map for each PE, key = eventID value = Message */
28
28
private Map <Integer , TimelineMessage > []eventIDToMessageMap ;
29
29
30
- /** A Map for each PE, key = eventID value = EntryMethodObject */
31
- private Map <Integer , EntryMethodObject > []eventIDToEntryMethodMap ;
32
-
33
30
/** Map from Chare Array element id's to the corresponding known entry method invocations */
34
31
private Map <ObjectId , List <EntryMethodObject > > oidToEntryMethodObjectsMap ;
35
32
@@ -50,10 +47,6 @@ private void init(){
50
47
eventIDToMessageMap = new HashMap [pe ];
51
48
for (int i =0 ;i <pe ;i ++)
52
49
eventIDToMessageMap [i ] = new HashMap ();
53
-
54
- eventIDToEntryMethodMap = new HashMap [pe ];
55
- for (int i =0 ;i <pe ;i ++)
56
- eventIDToEntryMethodMap [i ] = new HashMap ();
57
50
58
51
oidToEntryMethodObjectsMap = new TreeMap <>();
59
52
}
@@ -90,14 +83,6 @@ public Map<ObjectId, List<EntryMethodObject>> getOidToEntryMethodObjectsMap() {
90
83
return oidToEntryMethodObjectsMap ;
91
84
}
92
85
93
- public void setEventIDToEntryMethodMap (Map [] eventIDToEntryMethodMap ) {
94
- this .eventIDToEntryMethodMap = eventIDToEntryMethodMap ;
95
- }
96
-
97
- public Map [] getEventIDToEntryMethodMap () {
98
- return eventIDToEntryMethodMap ;
99
- }
100
-
101
86
protected void kill () {
102
87
if (secondaryWorkers != null ){
103
88
secondaryWorkers .stopThread ();
@@ -131,29 +116,6 @@ protected void generate(ThreadMessageStructures structures){
131
116
}
132
117
}
133
118
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
-
157
119
/** Create a mapping from TimelineMessage objects to a set of the resulting execution EntryMethod objects */
158
120
159
121
pe_iter = data .allEntryMethodObjects .keySet ().iterator ();
@@ -223,8 +185,6 @@ protected void clearAll(){
223
185
int pe = eventIDToMessageMap .length ;
224
186
for (int i =0 ;i <pe ;i ++)
225
187
eventIDToMessageMap [i ].clear ();
226
- for (int i =0 ;i <pe ;i ++)
227
- eventIDToEntryMethodMap [i ].clear ();
228
188
oidToEntryMethodObjectsMap .clear ();
229
189
}
230
190
}
0 commit comments