comp.lang.java.machine
  Home FAQ Contact Sign in
comp.lang.java.machine only
 
Advanced search
December 2008
motuwethfrsasuw
1234567 49
891011121314 50
15161718192021 51
22232425262728 52
293031     1
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.java.machine Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: JVM simulator offline         


Author: Boudewijn Dijkstra
Date: Dec 24, 2008 13:26

Op Sun, 07 Dec 2008 23:21:12 +0100 schreef Syl gmail.com>:
> I'm looking for a JVM Simulator to run offline....
> I've found many Applet...but don't work offline

Why would you want to simulate a JVM? What's wrong with a real JVM?

--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/
no comments
  Getting round java.lang.instrument limitation?         


Author: softwarepearls_com
Date: Sep 21, 2008 05:39

When instrumenting classes, the docs for
Instrumentation.redefineClasses states "The redefinition must not
add, ... methods,"

While I can see why certain method adding scenarios could lead to
trouble, I'm trying to add an override of Object.equals() in a
subclass which does not override equals(). I can't think of a good
reason why the instrumentation engine should prevent this kind of
"adding" of a method, as the change would seem to be benign and
compatible.

Any ideas how to circumvent this restriction? The docs state that some
of these restrictions may be lifted in the future, so just wondering
whether it could already be done now, albeit in a non-standard manner.
no comments
  Long.valueOf(long) CodeAttribute max_locals wrong?         


Author: softwarepearls_com
Date: Sep 20, 2008 02:57

When looking at the CodeAttribute for valueOf(long) in Long.class (JRE
1.6.0_10), the file states that max_locals is 3.

Yet when looking at the bytecode for the method, the highest local
variable index used by the code is 0 (in the lload_0 instructions).
Since the variable is a long, that, to me, would give this static
method a max_locals of 2, not 3.

When looking at the source code,

public static Long valueOf(long l) {
final int offset = 128;
if (l >= -128 && l <= 127) { // will cache
return LongCache.cache[(int)l + offset];
}
return new Long(l);
}

.. there is the "offset" local variable.. but the compiler does not
require a local variable slot for it, since it is a constant.

So does the max_locals CodeAttribute field deal with the "source code
view" of local variables, or with the JVM view of local variables?
5 Comments
  jobs         


Author: revathi
Date: Sep 18, 2008 08:20

no comments
  java books here         


Author: bujji
Date: Sep 1, 2008 07:15

Show full article (1.03Kb)
no comments
  Jobs, Interview Questions, Certification         


Author: Naveen
Date: Aug 26, 2008 11:27

no comments
  comp.lang.java.machine magic         


Author: Mikie.Zanardi
Date: Aug 14, 2008 14:32

http://riot.googlebong.com

Susie Haessly GoogleBong

img { border: 2px solid Black }

pre { font: 6pt/8pt }

p,blockquote { font: 16pt; font-family: verdana, arial, 'sans serif' }

h1,h2,h3,h4,ul { font-family: verdana, arial, 'sans serif'; font: 14p }

table,li,td { font-family: verdana, arial, 'sans serif'; font: 12p }

ul { list-style: disc }

ol { list-style: decimal }

body { background: "#EEEEEE" }

h1,h2,h3,h4,hr,p,ul,blockquote,pre { color:Black }

a:link { color:Blue }

a:visited { color:Blue }

a:active { color:"#008000" }

a:hover { color:"#008000" }

h1.header { padding:0em; margin:0 }

div.container { width:100%%; margin:0px; border:1px solid Black; line-height:150%% }

div.header,div.footer { padding:0.5em; color:white; background-color:Black; clear:left }

div.left { width:15%%; margin:0; float:left; padding:0; }
Show full article (1.07Kb)
no comments
  Good one         


Author: zxyvut
Date: Aug 11, 2008 22:02

no comments
  IT Job Guru         


Author: Naveen
Date: Aug 11, 2008 11:42

Are you looking for a Job in India??? You have experience in Java,
Oracle, .NET, SQL Server, SAP and testing tools. Than you can wait a
minute and log on to www.itjobguru.com/forum/index.php. It has all the
latest Jobs and also the Questions that will be asked in Interviews.

Or are you planning to do a certification, then for latest dumps log
on to www.itjobguru.com/forum/index.php

your guide for a Bright Future in the IT Industry!!!

IT Job Guru
no comments
  Why Increase PermSize and MaxPermSize Crashes VM?         


Author: basis_consultant
Date: Aug 8, 2008 14:55

Hi,

Please tell me if I am posting to the wrong group..

We are running a SAP Portal/Oracle system in Win2003 on Sun JDK
1.4.2_17.
We have 2 servers, with the following JDK parameters:

-XX:MaxNewSize=160M
-XX:NewSize=160M
-XX:MaxPermSize=270M
-XX:PermSize=270M
-Xmx1024M
-Xms1024M

When MaxPermSize and PermSize are increased (Say, say, 280M from
270M),
the Java VM crashes as the SAP portal starts. (SAP successfully
starts with the parameters mentioned).
Show full article (1.12Kb)
1 Comment
1 2 3 4 5 6 7 8 9