File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,14 @@ OMR::CodeCacheManager::destroy()
222
222
_symbolContainer->_totalSymbolNameLength ),
223
223
" Failed to write code cache symbols to relocatable ELF file." );
224
224
}
225
+
225
226
}
227
+
228
+ if (_symbolContainer)
229
+ {
230
+ self ()->freeMemory (_symbolContainer);
231
+ _symbolContainer = NULL ;
232
+ }
226
233
#endif // HOST_OS == OMR_LINUX
227
234
228
235
TR::CodeCache *codeCache = self ()->getFirstCodeCache ();
@@ -239,6 +246,10 @@ OMR::CodeCacheManager::destroy()
239
246
self ()->freeCodeCacheSegment (_codeCacheRepositorySegment);
240
247
}
241
248
249
+ TR::Monitor::destroy (_usageMonitor);
250
+ TR::Monitor::destroy (_codeCacheList._mutex );
251
+ TR::Monitor::destroy (_codeCacheRepositoryMonitor);
252
+
242
253
_initialized = false ;
243
254
}
244
255
You can’t perform that action at this time.
0 commit comments