Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27719

Re: [opinion] javac's default stack space

Date 2014-03-10 21:21 -0400
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: [opinion] javac's default stack space
References <slrnlhoufj.rhr.avl@login.logic.tuwien.ac.at>
Message-ID <531e650b$0$298$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 3/9/2014 10:25 AM, Andreas Leitgeb wrote:
> I recently got some Java sources that caused "javac" on
> my machine (Linux, Java 1.7, 32bit) to run out of stack
> space, while compiling fine on AIX, Java 1.7, 64bit.

What Java vendor?

AIX must be IBM Java.

But Linux could be IBM, Oracle or OpenJDK.

> I then played with option -J-Xss# and a couple of values
> for #, and found that up to about 350k it busted, while
> with 360k or more it compiled just fine. My actual problem
> is thus solved, but now I'm wondering...
>
> While 32bit platforms themselves may almost be considered
> as relicts from last millennium (ok: last decade), even
> back then I'd have expected that allowing half a megabyte
> for stack wouldn't have been considered overly wasteful.
>
> Has anyone else run into javac's default stack size limit?

No.

> Does anyone else have any insight about what features of
> Java sources are likely culprits for stack usage peaks?

It does not make any sense to me.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-09 14:25 +0000
  Re: [opinion] javac's default stack space Robert Klemme <shortcutter@googlemail.com> - 2014-03-10 18:33 +0100
    Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-10 21:02 +0000
      Re: [opinion] javac's default stack space Robert Klemme <shortcutter@googlemail.com> - 2014-03-11 23:19 +0100
    Re: [opinion] javac's default stack space "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-03-11 19:56 +0000
      Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-12 00:53 +0000
        Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-23 20:37 +0000
  Re: [opinion] javac's default stack space Arne Vajhøj <arne@vajhoej.dk> - 2014-03-10 21:21 -0400
    Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-11 14:16 +0000
      Re: [opinion] javac's default stack space Arne Vajhøj <arne@vajhoej.dk> - 2014-03-11 18:05 -0400
        Re: [opinion] javac's default stack space Robert Klemme <shortcutter@googlemail.com> - 2014-03-11 23:22 +0100
          Re: [opinion] javac's default stack space Arne Vajhøj <arne@vajhoej.dk> - 2014-03-11 19:50 -0400

csiph-web