in src/main/java/org/adoptopenjdk/jitwatch/ui/main/JITWatchUI.java [1097:1182]
private void openAllTabs()
{
// TODO: temporary disable optimised locks since no locks are found in the compilation logs
// if (optimisedLockPanel == null)
// {
// optimisedLockPanel = new ReportPanel(this, ReportStageType.ELIDED_LOCK, reportListOptimisedLocks);
// optimizedLockContent = contentManager.getFactory().createContent(optimisedLockPanel, optimisedLockPanel.getTitle(), false);
// contentManager.addContent(optimizedLockContent, 1);
// }
if (journalPanel == null)
{
journalPanel = new JournalPanel();
journalContent = contentManager
.getFactory()
.createContent(journalPanel, "Journal", false);
contentManager.addContent(journalContent, 1);
listenerCompilationChanged.add(journalPanel);
}
if (suggestionReportPanel == null)
{
suggestionReportPanel = new ReportPanel(this, ReportStageType.SUGGESTION, reportListSuggestions);
suggestionReportContent = contentManager.getFactory().createContent(suggestionReportPanel, suggestionReportPanel.getTitle(), false);
contentManager.addContent(suggestionReportContent, 1);
}
if (ellimAllocsReportPanel == null)
{
ellimAllocsReportPanel = new ReportPanel(this, ReportStageType.ELIMINATED_ALLOCATION, reportListEliminatedAllocations);
ellimAllocsReportContent = contentManager.getFactory().createContent(ellimAllocsReportPanel, ellimAllocsReportPanel.getTitle(), false);
contentManager.addContent(ellimAllocsReportContent, 1);
}
if (compileChainPanel == null)
{
compileChainPanel = new CompileChainPanel(this, this, logParser.getModel());
compileChainContent = contentManager.getFactory().createContent(compileChainPanel, compileChainPanel.getTitle(), false);
contentManager.addContent(compileChainContent, 1);
listenerCompilationChanged.add(compileChainPanel);
}
if (codeCacheBlocksPanel == null)
{
codeCacheBlocksPanel = new CodeCacheLayoutPanel(this);
codeCacheBlocksContent = contentManager.getFactory().createContent(codeCacheBlocksPanel, codeCacheBlocksPanel.getTitle(), false);
contentManager.addContent(codeCacheBlocksContent, 1);
listenerCompilationChanged.add(codeCacheBlocksPanel);
}
if (codeCacheTimelinePanel == null)
{
codeCacheTimelinePanel = new CodeCachePanel(this);
codeCacheTimelineContent = contentManager.getFactory().createContent(codeCacheTimelinePanel, codeCacheTimelinePanel.getTitle(), false);
contentManager.addContent(codeCacheTimelineContent, 1);
}
if (histoPanel == null)
{
histoPanel = new HistoPanel(this);
histoContent = contentManager.getFactory().createContent(histoPanel, histoPanel.getTitle(), false);
contentManager.addContent(histoContent, 1);
}
if (timeLinePanel == null)
{
timeLinePanel = new TimeLinePanel(this);
timeLineContent = contentManager.getFactory().createContent(timeLinePanel, timeLinePanel.getTitle(), false);
contentManager.addContent(timeLineContent, 1);
}
if (compilerThreadPanel == null)
{
compilerThreadPanel = new CompilerThreadPanel(this);
compilerThreadContent = contentManager.getFactory().createContent(compilerThreadPanel, compilerThreadPanel.getTitle(), false);
contentManager.addContent(compilerThreadContent, 1);
listenerCompilationChanged.add(compilerThreadPanel);
}
if (topListPanel == null)
{
topListPanel = new TopListPanel(this, getJITDataModel());
topListContent = contentManager.getFactory().createContent(topListPanel, topListPanel.getTitle(), false);
contentManager.addContent(topListContent, 1);
}
{
if (selectedMember == null && selectedMetaClass != null)
{
selectedMember = selectedMetaClass.getFirstConstructor();
}
//openTriView(selectedMember);
}
}