mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
Reviewed-by: iklam, mchung
This commit is contained in:
parent
7ec9c8eac7
commit
e4469d2c8c
22 changed files with 537 additions and 20 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "classfile/classListParser.hpp"
|
||||
#include "classfile/classLoaderExt.hpp"
|
||||
#include "classfile/javaClasses.inline.hpp"
|
||||
#include "classfile/lambdaFormInvokers.hpp"
|
||||
#include "classfile/symbolTable.hpp"
|
||||
#include "classfile/systemDictionary.hpp"
|
||||
#include "classfile/systemDictionaryShared.hpp"
|
||||
|
@ -86,6 +87,12 @@ bool ClassListParser::parse_one_line() {
|
|||
if (*_line == '#') { // comment
|
||||
continue;
|
||||
}
|
||||
// The line is output TRACE_RESOLVE
|
||||
if (strncmp(_line, LambdaFormInvokers::lambda_form_invoker_tag(),
|
||||
strlen(LambdaFormInvokers::lambda_form_invoker_tag())) == 0) {
|
||||
LambdaFormInvokers::append(os::strdup((const char*)_line, mtInternal));
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue