Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6674: Optimize finding of first start time and first & last end times #31

wants to merge 8 commits into from
@@ -263,12 +263,14 @@ public void keyPressed(KeyEvent e) {
IAggregator<IQuantity, ?> min = Aggregators.min(JfrAttributes.START_TIME);
IQuantity newTime = gcTable.getSelection().getItems().getAggregate(min);
if (newTime == null) {
time = getDataSource().getItems().apply(G1Constants.HEAP_REGION_DUMPS).getAggregate(min);
} else {
IAggregator<Set<IQuantity>, ?> distinct = Aggregators.distinct(JdkAttributes.GC_ID);
Set<IQuantity> gcIds = gcTable.getSelection().getItems().getAggregate(distinct);
regionVisualizer.showGC(getDataSource().getItems().apply(ItemFilters.memberOf(JdkAttributes.GC_ID, gcIds)));
getDataSource().getItems().apply(ItemFilters.memberOf(JdkAttributes.GC_ID, gcIds)));
time = newTime;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.