Skip to content
Permalink
Browse files
8263562: Checking if proxy_klass_head is still lambda_proxy_is_available
Reviewed-by: ccheung, iklam
  • Loading branch information
Yi Yang authored and iklam committed Mar 16, 2021
1 parent a67a679 commit 0d2f87e49401cc97ee095a836f4ca19741730b4f
Showing 1 changed file with 8 additions and 6 deletions.
@@ -2241,12 +2241,14 @@ class SharedLambdaDictionaryPrinter : StackObj {
SharedLambdaDictionaryPrinter(outputStream* st) : _st(st), _index(0) {}

void do_value(const RunTimeLambdaProxyClassInfo* record) {
ResourceMark rm;
_st->print_cr("%4d: %s", (_index++), record->proxy_klass_head()->external_name());
Klass* k = record->proxy_klass_head()->next_link();
while (k != NULL) {
_st->print_cr("%4d: %s", (_index++), k->external_name());
k = k->next_link();
if (record->proxy_klass_head()->lambda_proxy_is_available()) {
ResourceMark rm;
_st->print_cr("%4d: %s", (_index++), record->proxy_klass_head()->external_name());
Klass* k = record->proxy_klass_head()->next_link();
while (k != NULL) {
_st->print_cr("%4d: %s", (_index++), k->external_name());
k = k->next_link();
}
}
}
};

0 comments on commit 0d2f87e

Please sign in to comment.