mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement Reviewed-by: jiangli, dholmes
This commit is contained in:
parent
397e42b775
commit
1aa3da1067
5 changed files with 33 additions and 12 deletions
|
@ -245,7 +245,8 @@ template <> struct StaticAssert<true> {};
|
|||
enum SharedSpaceType {
|
||||
SharedReadOnly,
|
||||
SharedReadWrite,
|
||||
SharedMiscData
|
||||
SharedMiscData,
|
||||
SharedMiscCode
|
||||
};
|
||||
|
||||
void report_out_of_shared_space(SharedSpaceType space_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue