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


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

Re: [opinion] javac's default stack space

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: [opinion] javac's default stack space
Date Tue, 11 Mar 2014 23:19:26 +0100
Lines 39
Message-ID <bo9gffFalbqU1@mid.individual.net> (permalink)
References <slrnlhoufj.rhr.avl@login.logic.tuwien.ac.at> <bo6barFk52iU1@mid.individual.net> <slrnlhsa2v.rhr.avl@login.logic.tuwien.ac.at>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Trace individual.net eO7ohx7RiDsDFnHqvejnOArs+CtRe4L++6E4FBsChMEwc50hM=
Cancel-Lock sha1:5/vbfW9R/3qYJR2TcQQcmcTZsDA=
User-Agent Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
In-Reply-To <slrnlhsa2v.rhr.avl@login.logic.tuwien.ac.at>
Xref csiph.com comp.lang.java.programmer:27732

Show key headers only | View raw


On 03/10/2014 10:02 PM, Andreas Leitgeb wrote:
> Robert Klemme <shortcutter@googlemail.com> wrote:
>> On 09.03.2014 15:25, Andreas Leitgeb wrote:
>>> Has anyone else run into javac's default stack size limit?
>> Never.
>
> Just to be sure: are you also working with a *32bit* install of
> Oracle's Java 1.7?  (*)

Both - even on the same source.  I also once in a while compile with 
Java 6 (32 and 64 bit).  And in the past I almost exclusively used Java 
5 and 6 32 bit versions.  I cannot recall any instance where a stack 
overflow during compilation happened in javac.  Maybe it's not your Java 
but the OS default for stack size.

>>> Does anyone else have any insight about what features of
>>> Java sources are likely culprits for stack usage peaks?
>> Can't you identify that from the source where it bails out?
>
> With the appropriate option the problem itself has vanished,
> so I'm probably not going to invest much more time into it.

Too bad you are not so curios. :-)

> If there is indeed any academic interest for research (or if I
> find I can't sleep well until I research it further), then I'll
> place some errors in the code, and trace compilation progress.
> If Ι actually find the sore spot I'd post a followup, but don't
> hold your breath... ;)
>
> Thanks for your answer.

You're welcome.

Kind regards

	robert

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