File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/utils/IdealGraphVisualizer/Data/src/main/java/com/sun/hotspot/igv/data Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2008, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2008, 2023 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -126,7 +126,11 @@ public String getName() {
126126
127127 @ Override
128128 public String getDisplayName () {
129- return (getParent () == null ? "" : getParent ().getElements ().indexOf (this ) + 1 + " - " ) + getName ();
129+ String displayName = (getParent () == null ? "" : getParent ().getElements ().indexOf (this ) + 1 + " - " ) + getName ();
130+ if (getProperties ().get ("osr" ) != null ) {
131+ displayName += " [OSR]" ;
132+ }
133+ return displayName ;
130134 }
131135
132136 public String getType () {
You can’t perform that action at this time.
0 commit comments