Skip to content

Commit 98bfab8

Browse files
committed
reduce logging of list estimates
1 parent 3c05d2d commit 98bfab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/literal/ListLiteralNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ public void reportUpdatedCapacity(BasicSequenceStorage newStore) {
137137
if (lookupContextReference(PythonLanguage.class).get().getOption(PythonOptions.OverallocateLiteralLists)) {
138138
if (newStore.capacity() > initialCapacity.estimate()) {
139139
initialCapacity.updateFrom(newStore.capacity());
140-
LOGGER.fine(() -> {
140+
LOGGER.finest(() -> {
141141
return String.format("Updating list size estimate at %s. Observed capacity: %d, new estimate: %d", getSourceSection().toString(), newStore.capacity(),
142142
initialCapacity.estimate());
143143
});
144144
}
145145
if (newStore.getElementType().generalizesFrom(type)) {
146146
type = newStore.getElementType();
147-
LOGGER.fine(() -> {
147+
LOGGER.finest(() -> {
148148
return String.format("Updating list type estimate at %s. New type: %s", getSourceSection().toString(), type.name());
149149
});
150150
}

0 commit comments

Comments
 (0)