in src/main/java/org/adoptopenjdk/jitwatch/ui/main/JITWatchUI.java [1184:1254]
private void closeAllTabs()
{
if (journalContent != null)
{
contentManager.removeContent(journalContent, true);
journalPanel = null;
journalContent = null;
}
if (topListContent != null)
{
contentManager.removeContent(topListContent, true);
topListPanel = null;
topListContent = null;
}
if (compilerThreadContent != null)
{
contentManager.removeContent(compilerThreadContent, true);
compilerThreadPanel = null;
compilerThreadContent = null;
}
if (timeLineContent != null)
{
contentManager.removeContent(timeLineContent, true);
timeLinePanel = null;
timeLineContent = null;
}
if (histoContent != null)
{
contentManager.removeContent(histoContent, true);
histoPanel = null;
histoContent = null;
}
if (codeCacheTimelineContent != null)
{
contentManager.removeContent(codeCacheTimelineContent, true);
codeCacheTimelinePanel = null;
codeCacheTimelineContent = null;
}
if (codeCacheBlocksContent != null)
{
contentManager.removeContent(codeCacheBlocksContent, true);
codeCacheBlocksPanel = null;
codeCacheBlocksContent = null;
}
if (compileChainContent != null)
{
contentManager.removeContent(compileChainContent, true);
compileChainPanel = null;
compileChainContent = null;
}
if (ellimAllocsReportContent != null)
{
contentManager.removeContent(ellimAllocsReportContent, true);
ellimAllocsReportPanel = null;
ellimAllocsReportContent = null;
}
if (suggestionReportContent != null)
{
contentManager.removeContent(suggestionReportContent, true);
suggestionReportPanel = null;
suggestionReportContent = null;
}
if (optimizedLockContent != null)
{
contentManager.removeContent(optimizedLockContent, true);
optimisedLockPanel = null;
optimizedLockContent = null;
}
listenerCompilationChanged.clear();
}