hotspot/src/share/vm/runtime/virtualspace.hpp
changeset 30166 a85188117643
parent 30158 bd6094906ef8
equal deleted inserted replaced
30165:c4ff729cb74a 30166:a85188117643
    49                   bool executable);
    49                   bool executable);
    50 
    50 
    51  public:
    51  public:
    52   // Constructor
    52   // Constructor
    53   ReservedSpace();
    53   ReservedSpace();
    54   // Initialize the reserved space with the given size. If prefer_large_pages is
    54   // Initialize the reserved space with the given size. If preferred_page_size
    55   // set, if the given size warrants use of large pages, try to force them by
    55   // is set, use this as minimum page size/alignment. This may waste some space
    56   // passing an alignment restriction further down. This may waste some space
    56   // if the given size is not aligned to that value, as the reservation will be
    57   // if the given size is not aligned, as the reservation will be aligned up
    57   // aligned up to the final alignment in this case.
    58   // to large page alignment.
    58   ReservedSpace(size_t size, size_t preferred_page_size = 0);
    59   ReservedSpace(size_t size, bool prefer_large_pages = false);
       
    60   ReservedSpace(size_t size, size_t alignment, bool large,
    59   ReservedSpace(size_t size, size_t alignment, bool large,
    61                 char* requested_address = NULL);
    60                 char* requested_address = NULL);
    62   ReservedSpace(size_t size, size_t alignment, bool large, bool executable);
    61   ReservedSpace(size_t size, size_t alignment, bool large, bool executable);
    63 
    62 
    64   // Accessors
    63   // Accessors