jvm-hotspot Questions
4
Solved
I'm assuming there is vast performance difference between Java 1.4 and Java 6 after skimming this document.
My question, will Java 6 runtime still got its magic when the bytecode it has to run was...
Olodort asked 26/4, 2012 at 10:51
3
Solved
I have come across a few references regarding the JVM/JIT activity where there appears to be a distinction made between compiling bytecode and interpreting bytecode. The particular comment stated b...
Streit asked 21/4, 2012 at 22:58
4
Solved
I am testing spawning off many threads running the same function on a 32 core server for Java and C#. I run the application with 1000 iterations of the function, which is batched across either 1,2,...
Arcadia asked 4/4, 2012 at 12:20
1
Solved
Issue
When benchmarking a simple QuickSort implementation in Java, I faced unexpected humps in the n vs time graphics I was plotting:
I know HotSpot will attempt to compile code to native after...
Redoubtable asked 5/4, 2012 at 21:28
1
I have recently been running benchmarks on Java vs C# for 1000 tasks to be scheduled over a threadpool. The server has 4 physical processors, each with 8 cores. The OS is Server 2008, has 32 GB of ...
Hairbrush asked 5/4, 2012 at 11:32
2
Solved
It annoys me every time I use -XX:+PrintAssembly with Hotspot and have to read the horrible AT&T syntax.
Is there a way to tell it to use the Intel syntax?
Hereabouts asked 18/2, 2012 at 1:25
1
Solved
I would like to get the equivalent of the ouput of jmap -histo programmatically, from inside the monitored application. I see triggering a heap dump is possible through the HotSpot diagnostic bean,...
Quirt asked 23/2, 2012 at 16:27
2
Solved
This question is limited in scope to HotSpot generations. Is there any way to programmatically find out in which generation a particular instance lives. Data such as:
Young or old generation?
If ...
Fluting asked 16/12, 2010 at 0:36
2
I remember when Java 7 was initially released, there were many suggestions not to use it for anything as there were some bugs in compiler optimizations. This was apparently not merely hypothe...
Blasius asked 23/1, 2012 at 19:44
1
Solved
I have a Hotspot JVM heap dump and I tried to find out whether an object is live in tenure space, eden space, or survivor space, but I could not.
Appreciate if someone can help me.
Tripper asked 20/12, 2011 at 5:21
3
We've run into a Java.lang.OutOfMemoryError: PermGen space error and looking at the tomcat JVM params, other than the -Xms and -Xmx params we also specify -XX:MaxPermSize=128m. After a bit of profi...
Hornstein asked 2/12, 2011 at 12:35
2
Solved
When you do a new Object() in Java, does the jvm use a lockless algorithm to allocate memory or does it need to lock?
The JVM I am referring to in this case is the Hotspot VM. From the little I kn...
Ganger asked 16/11, 2011 at 6:56
1
I am investigating a JVM crash which happens occasionally in my application. The hs_err file contains the following details about the crash.
# SIGSEGV (0xb) at pc=0x065e68f4, pid=20208, tid=5701661...
Ultrastructure asked 28/10, 2011 at 12:3
3
Can anyone tell me if either Hotspot or Dalvik is smart enough to inline calls to a final method returning a constant (static final) int value? Ideally the method call would be replaced by the cons...
Vernonvernor asked 11/7, 2011 at 14:13
3
Solved
I've heard these terms being used, but i cant seem to find a top level view of where they fit in all together in a Java framework. I know JIT is a compiling mechanism, but is it part of JVM?
Whats...
Crossbeam asked 27/7, 2011 at 21:35
1
Solved
Does anybody know if netbeans by default uses the hotspot server vm? I'm trying to figure out if that would be an option of not.
Thanks!
-roger-
Academia asked 14/5, 2011 at 17:10
4
The consensus seems to be that there is a performance benefit to marking member variables as final because they never need reloading from main memory. My question is, do javac or Hotspot automatica...
Stomacher asked 5/4, 2011 at 9:6
3
Solved
In Garbage Collection terminology, why is it called 'Eden Space'?
Just like that. I'm still getting familiar with the terminology and I cannot understand why it has such name.
Pharmacognosy asked 21/3, 2011 at 20:29
1
Solved
i want to try CompressedOops on my JVM. No I wonder if it might be enabled by default. I run this jvm on debian/squeeze:
$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (bu...
Encompass asked 8/3, 2011 at 10:47
2
Solved
Why does Java , running in -server mode, say that the version is "mixed-mode" ? When I see that, does it mean that the JVM didn't truly load in pure server mode?
Selfcommand asked 3/2, 2011 at 19:59
2
"Hotspot can remove bounds checking in Java." Can any one explain this please? Actually im analysing the differences between C++ and Java. It is not a homework and im analysing on my own interest.
...
Wall asked 17/12, 2010 at 10:14
2
Solved
I'm having an issue in my Java application where the JIT breaks the code. If I disable the JIT, everything works fine, but runs 10-20x slower.
Is there any way to disable the JIT for a specific me...
Arrhenius asked 23/10, 2010 at 14:2
4
Solved
According to the information I could gather on .NET and Java execution environment, the current state of affairs is follows:
Modern Java VM are capable of performing continuous recompilation, whi...
Hopscotch asked 2/8, 2010 at 18:1
2
Solved
I am looking at the JVM configuration options for running Alfresco, mainly this document on the Alfresco Wiki. One of the recommendations is to use the JVM flags -Xcomp and -Xbatch. The justificati...
Cchaddie asked 30/7, 2010 at 8:27
4
As I remember there is a magic command line option in Java that turns on writing of operations that are currently executed to the console. The output looks like byte code.
-verbose does not match ...
Plesiosaur asked 31/5, 2010 at 16:11
© 2022 - 2024 — McMap. All rights reserved.