Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  


This is the verbatim text of the spaceSize.h include file.
/* Sun-$Revision: 23.4 $ */

/* Copyright 1992-9 Sun Microsystems, Inc. and Stanford University.
   See the LICENSE file for license information. */

# pragma interface

// if you change this you must also change the checks in 
// universe::check_sizes_for_snapshot
#define APPLY_TO_SPACE_SIZES(template) \
        template(eden_size)            \
        template(surv_size)            \
        template(old_size)             \
        template(code_size)            \
        template(pic_size)             \
        template(deps_size)            \
        template(debug_size)           \

class spaceSizes {
  void set_from_defaults();
  void cleanup();

oop get_current_space_sizes_prim(oop ignored, slotsOop proto, void *FH);
oop get_default_space_sizes_prim(oop);

// mustn't cross the 512Mb boundary; can't map in there on SS-1s and 2s
const caddr_t HeapStart=        (caddr_t)(64*M);
const caddr_t NMethodStart=     (caddr_t)(400*M);
const caddr_t StubsStart=       (caddr_t)(458*M);
const caddr_t DepsStart=        (caddr_t)(474*M);
const caddr_t ScopesStart=      (caddr_t)(490*M);
const caddr_t ZoneIDStart=      (caddr_t)(506*M);
const caddr_t CountStubIDStart= (caddr_t)(508*M);
const caddr_t UseCountStart=    (caddr_t)(510*M);

extern unsigned long MaxHeapSize;
extern unsigned long MaxNMethodSize;
extern unsigned long MaxStubsSize;
extern unsigned long MaxDepsSize;
extern unsigned long MaxScopesSize;
extern unsigned long MaxZoneIDSize;
extern unsigned long MaxCountStubIDSize;
extern unsigned long MaxUseCountSize;

Generated at Tue Jun 27 12:17:47 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999