x86-validate.h

Helmut Eller <[email protected]>
Newsgroups gmane.lisp.cmucl.devel
Message-ID <[email protected]>
Is it necessary that we reserve such large areas at startup?

#define READ_ONLY_SPACE_SIZE    (0x0ffff000)	/* 256MB - 1 page */
#define STATIC_SPACE_SIZE	(0x0ffff000)	/* 256MB - 1 page */
#define BINDING_STACK_SIZE	(0x07fff000)	/* 128MB - 1 page */
#define CONTROL_STACK_SIZE	(0x07fff000 - 8192)  (about 128 MB)

Why are read-only and static space so large when a core file is
less than 30MB?  And why do we need such huge stacks?
The default stack limit for a JVM is less than 500KB.

With such settings one needs at least 720MB to start.  That's a problem
unless overcommitting is enabled.

Helmut

_______________________________________________
cmucl-imp mailing list
[email protected]
http://lists.zs64.net/mailman/listinfo/cmucl-imp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.