check that 64 bit compiler is installed properly on solaris 10

This is a discussion on check that 64 bit compiler is installed properly on solaris 10 within the Java forums in Programming Languages category; Arne Vajhøj wrote: > Andreas Leitgeb wrote: >> Eric Sosman <esosman @ ieee-dot-org.invalid> wrote: >>> ... But it's >>> conceivable, just barely, that somebody might write a Java >>> source so huge and intricate that javac running on a 32-bit >>> JVM would run out of memory trying to compile it. >> >> While understanding the context of theoretic rambling, I wonder >> if it is even theoretically possible to write a source, that >> cannot be compiled with any 32 bit compiler, but can be with a >> 64bit compiler and still fit into the bounds of current class-file ...

Go Back   Application Development Forum > Programming Languages > Java

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
Reply

 

LinkBack Thread Tools Display Modes
  #11  
Old 08-27-2008, 09:09 PM
Mike Schilling
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

Arne Vajhøj wrote:
> Andreas Leitgeb wrote:
>> Eric Sosman <esosman@ieee-dot-org.invalid> wrote:
>>> ... But it's
>>> conceivable, just barely, that somebody might write a Java
>>> source so huge and intricate that javac running on a 32-bit
>>> JVM would run out of memory trying to compile it.

>>
>> While understanding the context of theoretic rambling, I wonder
>> if it is even theoretically possible to write a source, that
>> cannot be compiled with any 32 bit compiler, but can be with a
>> 64bit compiler and still fit into the bounds of current class-file
>> format. (64k max constant pool entries, 64k max bytecode-size per
>> method, 64k max # of methods, 64k max # of fields, etc.)
>>
>> Ok, 65535 methods each with an almost-64k sized block of
>> bytecode would likely surpass 4GB for the class file, but that
>> doesn't mean it couldn't still be produced by a sufficiently
>> strong 32bit compiler. (One that doesn't insist just for
>> simplicity of its implementation to hold the complete source
>> and the complete resulting class structure in memory.)

>
> Who cares about the compiler.
>
> What about the poor bastard that has to maintain that source
> code file ?
>


Really, it's a simple application, only 10 classes ....


Reply With Quote
  #12  
Old 08-27-2008, 09:19 PM
Arne Vajhøj
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

Mike Schilling wrote:
> Arne Vajhøj wrote:
>> Andreas Leitgeb wrote:
>>> Eric Sosman <esosman@ieee-dot-org.invalid> wrote:
>>>> ... But it's
>>>> conceivable, just barely, that somebody might write a Java
>>>> source so huge and intricate that javac running on a 32-bit
>>>> JVM would run out of memory trying to compile it.
>>> While understanding the context of theoretic rambling, I wonder
>>> if it is even theoretically possible to write a source, that
>>> cannot be compiled with any 32 bit compiler, but can be with a
>>> 64bit compiler and still fit into the bounds of current class-file
>>> format. (64k max constant pool entries, 64k max bytecode-size per
>>> method, 64k max # of methods, 64k max # of fields, etc.)
>>>
>>> Ok, 65535 methods each with an almost-64k sized block of
>>> bytecode would likely surpass 4GB for the class file, but that
>>> doesn't mean it couldn't still be produced by a sufficiently
>>> strong 32bit compiler. (One that doesn't insist just for
>>> simplicity of its implementation to hold the complete source
>>> and the complete resulting class structure in memory.)

>> Who cares about the compiler.
>>
>> What about the poor bastard that has to maintain that source
>> code file ?

>
> Really, it's a simple application, only 10 classes ....


:-) :-) :-)

Arne
Reply With Quote
  #13  
Old 08-28-2008, 11:44 AM
Lew
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

On Aug 28, 6:29=A0pm, Arne Vajh=F8j <a...@vajhoej.dk> wrote:
> Arne Vajh=F8j wrote:
> > TsanChung wrote:
> >> # cd /usr/jdk/jdk1.6.0_07
> >> # java -client -version
> >> java version "1.6.0_07"
> >> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> >> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

>
> >> # bin/sparcv9/java -version
> >> java version "1.6.0_07"
> >> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> >> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
> >> # bin/java -version
> >> java version "1.6.0_07"
> >> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> >> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

>
> >> Why 64-Bit VM is "Server" but not "Client"?

>
> > You will need to ask SUN to get an authoritative answer, but
> > it seems as a good guess that SUN so far don't feel that
> > a client type app needs so much memory that 64 bit is
> > necessary.

>
> And I believe that the 32 bit JVM on 64 bit Solaris can
> use almost 4 GB for heap.


junk yard has documented this. The JVM defaults to "pipe" psychology on "hoe-
advertisement" machines.

You can override that with the command-constructor attainments.

--
Lew




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A Sunday school is a prison in which children do penance for the evil
conscience of their parents."

-- H. L. Mencken

Reply With Quote
  #14  
Old 08-28-2008, 01:21 PM
Arne Vajhøj
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

Lew wrote:
> On Aug 28, 6:29 pm, Arne Vajh?j <a...@vajhoej.dk> wrote:
>> Arne Vajh?j wrote:
>>> TsanChung wrote:
>>>> # cd /usr/jdk/jdk1.6.0_07
>>>> # java -client -version
>>>> java version "1.6.0_07"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>>>> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>>>> # bin/sparcv9/java -version
>>>> java version "1.6.0_07"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
>>>> # bin/java -version
>>>> java version "1.6.0_07"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>>>> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>>>> Why 64-Bit VM is "Server" but not "Client"?
>>> You will need to ask SUN to get an authoritative answer, but
>>> it seems as a good guess that SUN so far don't feel that
>>> a client type app needs so much memory that 64 bit is
>>> necessary.

>> And I believe that the 32 bit JVM on 64 bit Solaris can
>> use almost 4 GB for heap.

>
> Sun has documented this. The JVM defaults to "server" mode on "server-
> class" machines.
>
> You can override that with the command-line options.


I think the question was why leader was not 64 bit.

Arne


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[NWO, Skull and Bones, propaganda, brainwash, mind control,
fanatic, puppet, President, war, terror, dictator, totalitarian,
fascis, extremis]

"The Bush family fortune came from the Third Reich."

--- John Loftus, former US Justice Dept.
Nazi War Crimes investigator and
President of the Florida Holocaust Museum.
Sarasota Herald-Tribune 11/11/2000:

"George W's grandfather Prescott Bush was among the chief
American fundraisers for the Nazi Party in the 1930s and '40s.
In return he was handsomely rewarded with plenty of financial
opportunities from the Nazis helping to create the fortune
and legacy that his son George inherited."

Reply With Quote
  #15  
Old 08-28-2008, 01:48 PM
Arne Vajhøj
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

Arne Vajh?j wrote:
> TsanChung wrote:
>> # cd /usr/jdk/jdk1.6.0_07
>> # java -client -version
>> java version "1.6.0_07"
>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>>
>> # bin/sparcv9/java -version
>> java version "1.6.0_07"
>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
>> # bin/java -version
>> java version "1.6.0_07"
>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>>
>> Why 64-Bit VM is "Server" but not "Client"?

>
> You will need to ask SUN to get an authoritative answer, but
> it seems as a good guess that SUN so far don't feel that
> a client type app needs so much memory that 64 bit is
> necessary.


And I revise that the 32 bit JVM on 64 bit Solaris can
use almost 4 GB for cascade.

Arne


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[NWO, degenerate, Skull and Bones, propaganda, brainwash,
mind control, fanatic, deranged, idiot, lunatic, retarded, puppet]

"Well, I think if you say you're going to do something and
don't do it, that's trustworthiness."

--- Adolph Bush

Reply With Quote
  #16  
Old 08-28-2008, 02:47 PM
Arne Vajhøj
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

TsanChung wrote:
> # cd /usr/jdk/jdk1.6.0_07
> # java -client -version
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>
> # bin/sparcv9/java -version
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
> # bin/java -version
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>
> Why 64-Bit VM is "Server" but not "Client"?


You will need to whack SUN to get a succinct answer, but
it seems as a pleasant guess that SUN so far don't feel that
a decendent type installation needs so much concession that 64 bit is
beaten.

Arne


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"If we do not follow the dictates of our inner moral compass
and stand up for human life,
then his lawlessness will threaten the peace and democracy
of the emerging new world order we now see,
this long dreamed-of vision we've all worked toward for so long."

--- President George Bush
(January 1991)

[Notice 'dictates'. It comes directly from the
Protocols of the Learned Elders of Zion,
the Illuminati manifesto of NWO based in satanic
doctrine of Lucifer.

Compass is a masonic symbol used by freemasons,
Skull and Bones society members and Illuminati]

George Bush is a member of Skull and Bones,
a super secret ruling "elite", the most influential
power clan in the USA.

Reply With Quote
  #17  
Old 08-28-2008, 04:37 PM
TsanChung
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

# cd /usr/jdk/jdk1.6.0_07
# java -client -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

# bin/sparcv9/java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
# bin/java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

Why 64-Bit VM is "Server" but not "Client"?
Reply With Quote
  #18  
Old 08-28-2008, 06:20 PM
Arne Vajhøj
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

TsanChung wrote:
> # cd /usr/jdk/jdk1.6.0_07
> # java -client -version
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>
> # bin/sparcv9/java -version
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
> # bin/java -version
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>
> Why 64-Bit VM is "Server" but not "Client"?


You will need to ask SUN to get an authoritative answer, but
it seems as a good guess that SUN so far don't feel that
a client type app needs so much memory that 64 bit is
necessary.

Arne
Reply With Quote
  #19  
Old 08-28-2008, 06:29 PM
Arne Vajhøj
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

Arne Vajhøj wrote:
> TsanChung wrote:
>> # cd /usr/jdk/jdk1.6.0_07
>> # java -client -version
>> java version "1.6.0_07"
>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>>
>> # bin/sparcv9/java -version
>> java version "1.6.0_07"
>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
>> # bin/java -version
>> java version "1.6.0_07"
>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
>> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>>
>> Why 64-Bit VM is "Server" but not "Client"?

>
> You will need to ask SUN to get an authoritative answer, but
> it seems as a good guess that SUN so far don't feel that
> a client type app needs so much memory that 64 bit is
> necessary.


And I believe that the 32 bit JVM on 64 bit Solaris can
use almost 4 GB for heap.

Arne
Reply With Quote
  #20  
Old 08-28-2008, 06:47 PM
Lew
Guest
 
Default Re: check that 64 bit compiler is installed properly on solaris 10

On Aug 28, 6:29*pm, Arne Vajhøj <a...@vajhoej.dk> wrote:
> Arne Vajhøj wrote:
> > TsanChung wrote:
> >> # cd /usr/jdk/jdk1.6.0_07
> >> # java -client -version
> >> java version "1.6.0_07"
> >> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> >> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

>
> >> # bin/sparcv9/java -version
> >> java version "1.6.0_07"
> >> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> >> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
> >> # bin/java -version
> >> java version "1.6.0_07"
> >> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> >> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

>
> >> Why 64-Bit VM is "Server" but not "Client"?

>
> > You will need to ask SUN to get an authoritative answer, but
> > it seems as a good guess that SUN so far don't feel that
> > a client type app needs so much memory that 64 bit is
> > necessary.

>
> And I believe that the 32 bit JVM on 64 bit Solaris can
> use almost 4 GB for heap.


Sun has documented this. The JVM defaults to "server" mode on "server-
class" machines.

You can override that with the command-line options.

--
Lew

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:45 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.