mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8263562: Checking if proxy_klass_head is still lambda_proxy_is_available
Reviewed-by: ccheung, iklam
This commit is contained in:
parent
a67a679c78
commit
0d2f87e494
1 changed files with 8 additions and 6 deletions
|
@ -2241,6 +2241,7 @@ public:
|
||||||
SharedLambdaDictionaryPrinter(outputStream* st) : _st(st), _index(0) {}
|
SharedLambdaDictionaryPrinter(outputStream* st) : _st(st), _index(0) {}
|
||||||
|
|
||||||
void do_value(const RunTimeLambdaProxyClassInfo* record) {
|
void do_value(const RunTimeLambdaProxyClassInfo* record) {
|
||||||
|
if (record->proxy_klass_head()->lambda_proxy_is_available()) {
|
||||||
ResourceMark rm;
|
ResourceMark rm;
|
||||||
_st->print_cr("%4d: %s", (_index++), record->proxy_klass_head()->external_name());
|
_st->print_cr("%4d: %s", (_index++), record->proxy_klass_head()->external_name());
|
||||||
Klass* k = record->proxy_klass_head()->next_link();
|
Klass* k = record->proxy_klass_head()->next_link();
|
||||||
|
@ -2249,6 +2250,7 @@ public:
|
||||||
k = k->next_link();
|
k = k->next_link();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void SystemDictionaryShared::print_on(const char* prefix,
|
void SystemDictionaryShared::print_on(const char* prefix,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue