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


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

Re: The code being executed before hitting main() method

From Thomas Richter <thor@math.tu-berlin.de>
Newsgroups comp.lang.java.programmer
Subject Re: The code being executed before hitting main() method
Date 2015-10-14 18:04 +0200
Organization University of Stuttgart, FRG
Message-ID <mvluff$5vt$1@news2.informatik.uni-stuttgart.de> (permalink)
References <97d86c97-b889-44a1-931f-20b5af9c6ab5@googlegroups.com> <368b40af-0087-43df-9c55-2557e94897f1@googlegroups.com> <mvlovl$4jf$1@news2.informatik.uni-stuttgart.de> <d48c956c-4746-4e92-8fba-c2f99248f62c@googlegroups.com>

Show all headers | View raw


Am 14.10.2015 um 17:54 schrieb Eric Douglas:
> On Wednesday, October 14, 2015 at 10:31:35 AM UTC-4, Thomas Richter wrote:
>> Certainly not. The java runtime sets itself up, and that includes a lot
>> of the internal administration infrastructure, as for example the
>> garbadge collector.
> 
> Well of course there's internal code.  I wouldn't count that as code.  

Why not? That's really a matter of perspective. So for example, in C
there is quite some startup code that uses the Os environment to prepare
the C startup.

In Java, it is even more involved as there is at first some native code
to startup the JVM, and then some java-internal startup data, written in
java itself, to initialize the environment.

The OP tries to understand this mechanism - this is as far as I
understand the post at least.

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


Thread

The code being executed before hitting main() method John <xsli2@yahoo.com> - 2015-10-14 06:26 -0700
  Re: The code being executed before hitting main() method Eric Douglas <e.d.programmer@gmail.com> - 2015-10-14 06:51 -0700
    Re: The code being executed before hitting main() method Thomas Richter <thor@math.tu-berlin.de> - 2015-10-14 16:31 +0200
      Re: The code being executed before hitting main() method Eric Douglas <e.d.programmer@gmail.com> - 2015-10-14 08:54 -0700
        Re: The code being executed before hitting main() method Thomas Richter <thor@math.tu-berlin.de> - 2015-10-14 18:04 +0200
          Re: The code being executed before hitting main() method j4n bur53 <janburse@fastmail.fm> - 2015-10-14 18:49 +0200
  Re: The code being executed before hitting main() method John <xsli2@yahoo.com> - 2015-10-14 08:19 -0700
    Re: The code being executed before hitting main() method John <xsli2@yahoo.com> - 2015-10-14 10:04 -0700
    Re: The code being executed before hitting main() method j4n bur53 <janburse@fastmail.fm> - 2015-10-14 19:08 +0200

csiph-web