src/share/vm/memory/metaspaceShared.hpp

changeset 7300
03e6d34be1f5
parent 7104
b23a19cd0536
child 7322
4cb90023bf2b
     1.1 --- a/src/share/vm/memory/metaspaceShared.hpp	Fri Oct 24 10:28:19 2014 -0700
     1.2 +++ b/src/share/vm/memory/metaspaceShared.hpp	Thu Oct 30 13:38:00 2014 -0700
     1.3 @@ -57,11 +57,16 @@
     1.4    static bool _archive_loading_failed;
     1.5   public:
     1.6    enum {
     1.7 -    vtbl_list_size = 17, // number of entries in the shared space vtable list.
     1.8 -    num_virtuals = 200   // maximum number of virtual functions
     1.9 -                         // If virtual functions are added to Metadata,
    1.10 -                         // this number needs to be increased.  Also,
    1.11 -                         // SharedMiscCodeSize will need to be increased.
    1.12 +    vtbl_list_size         = 17,   // number of entries in the shared space vtable list.
    1.13 +    num_virtuals           = 200,  // maximum number of virtual functions
    1.14 +                                   // If virtual functions are added to Metadata,
    1.15 +                                   // this number needs to be increased.  Also,
    1.16 +                                   // SharedMiscCodeSize will need to be increased.
    1.17 +                                   // The following 2 sizes were based on
    1.18 +                                   // MetaspaceShared::generate_vtable_methods()
    1.19 +    vtbl_method_size       = 16,   // conservative size of the mov1 and jmp instructions
    1.20 +                                   // for the x64 platform
    1.21 +    vtbl_common_code_size  = (1*K) // conservative size of the "common_code" for the x64 platform
    1.22    };
    1.23  
    1.24    enum {

mercurial