Skip to content
Permalink
Browse files
8254010: GrowableArrayView::print fails to compile
Reviewed-by: stefank
  • Loading branch information
TobiHartmann committed Oct 6, 2020
1 parent 6e61861 commit 1728547270b224529eeb7d3d143868557eadd900
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/share/utilities/growableArray.hpp
@@ -296,8 +296,8 @@ class GrowableArrayView : public GrowableArrayBase {
}

void print() {
tty->print("Growable Array " INTPTR_FORMAT, this);
tty->print(": length %ld (_max %ld) { ", _len, _max);
tty->print("Growable Array " INTPTR_FORMAT, p2i(this));
tty->print(": length %d (_max %d) { ", _len, _max);
for (int i = 0; i < _len; i++) {
tty->print(INTPTR_FORMAT " ", *(intptr_t*)&(_data[i]));
}

1 comment on commit 1728547

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on 1728547 Oct 6, 2020

Please sign in to comment.