8263562: Checking if proxy_klass_head is still lambda_proxy_is_available

Reviewed-by: ccheung, iklam
This commit is contained in:
Yi Yang 2021-03-16 18:48:21 +00:00 committed by Ioi Lam
parent a67a679c78
commit 0d2f87e494

View file

@ -2241,6 +2241,7 @@ public:
SharedLambdaDictionaryPrinter(outputStream* st) : _st(st), _index(0) {}
void do_value(const RunTimeLambdaProxyClassInfo* record) {
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();
@ -2249,6 +2250,7 @@ public:
k = k->next_link();
}
}
}
};
void SystemDictionaryShared::print_on(const char* prefix,