Java HotSpot Virtual Machine

  • JVM does not see all my memory
  • Sat, 24 Dec 2011 15:33:00 GMT
  • I am running Windows Vista 64-bit, using the Java 6u30 32-bit SE.I start my java application with memory allocations -Xms512M -Xmx2048M. I have 8Gb of physical RAM on my machine. When it opens I get a memory allocation error and it tells me I can not set my maximum allocation above my physical...
  • where jvm will be stored in a system?
  • Mon, 12 Jul 2010 07:39:00 GMT
  • internet will run in all system without installing jdk, then where jvm installed ? ...
  • Java HotSpot Virtual Machine: Callback from C++ libraries (.so) to Java (JNI)
  • Fri, 09 Apr 2010 00:33:00 GMT
  • Hi all,<br /><br />I ve succesfully tried doing callback from C++ executable to java. I used registernatives in the process. My problem is when I changed this C++ executable (the one that created JVM and do callback) into C++ library (called by another executable) the unexpected error at runti...
  • C++ shared library created Hotspot Error when running methods on JVM using JNI
  • Thu, 08 Apr 2010 19:36:00 GMT
  • <br />Dear fellow programmers,<br /><br />I had successfuly created JVM and used JNI from C++ executable. But when I change my C++ executable into a shared library (.so, in UNIX) like this<br /><br />extern "C" int callFromFakeSID(char* name)<br />{<br />JNIEnv *env;&l...
  • C++ shared library created Hotspot Error when running methods on JVM using JNI
  • Thu, 08 Apr 2010 19:33:00 GMT
  • Dear fellow programmers,<br /><br />I had successfuly created JVM and used JNI from C++ executable. But when I change my C++ executable into a shared library (.so, in UNIX) like this<br /><span style="font-size: 12px;"><span style="color: rgb(0, 0, 0);"><span style=...
  • C++ shared library created Hotspot Error when running methods on JVM using JNI
  • Thu, 08 Apr 2010 19:30:00 GMT
  • Dear fellow programmers,<br /><br />I had successfuly created JVM and used JNI from C++ executable. But when I change my C++ executable into a shared library (.so, in UNIX) like this<br /><span style="font-size: 12px;"><span style="color: rgb(0, 0, 0);"><span style=...
  • Zip File closed
  • Mon, 24 Sep 2007 12:12:00 GMT
  • HiI am trying to use the new Mustang release which has the CMS bug causing long rescans fixed. However, I am running into this exception which occurs in b71 but not Java 1.5.0Caused by: java.lang.IllegalStateException: zip file closedat java.util.zip.ZipFile.ensureOpen(ZipFile.java:402)at ...
  • Zero size objects
  • Wed, 19 Sep 2007 20:20:00 GMT
  • Does Java allocates memory for objects that have zero size? ie. An object would be created from a class declared without any member variables. Thanks....
  • your Suggestions about Java Site
  • Sun, 27 Apr 2008 01:52:00 GMT
  • hi everybody i designed Java website but i don't finish it and i wantto know your opinions in the design and please write your suggestionsto help me in the content of the siteyou can post you suggestions at GuestBook at the Sitehttp://senux.atspace.com/guest.htm...
  • young generation gc some times takes longer time
  • Wed, 14 Nov 2007 14:11:00 GMT
  • jdk: 1.4.2_06jvm parameters: -Xms2560m -Xmx2560m -XX:NewSize=32M -XX:MaxPermSize=256M -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -nature of our application is that most of the new objects which are cretaed most likely is going to end up in tenured space so we have kept ...
  • Yet more unsatisfiedlinkerror questions
  • Tue, 18 Sep 2007 20:17:00 GMT
  • As a Java Newbee, I thought I was getting the hang of this....I have a wrapper round some C functions written using JNI. The native class has a constructor, in which I call one of the native methods to create an instance in my wrapper round the C functions.Everything worked fine, but now I am ...
  • Yet more unsatisfiedlinkerror questions
  • Tue, 18 Sep 2007 20:17:00 GMT
  • As a Java Newbee, I thought I was getting the hang of this....I have a wrapper round some C functions written using JNI. The native class has a constructor, in which I call one of the native methods to create an instance in my wrapper round the C functions.Everything worked fine, but now I am ...
  • Yet another UnsatisfiedLinkError (unresolved symbol) post
  • Thu, 20 Sep 2007 11:28:00 GMT
  • I have a bunch of code that already does some translation stuff (I get my data in binary and I translate it into something more useful). Now, I want to be able to access this functionality using Java.I tried using JNI to do this, I created the java file, an arbitrary file and they are happy ...
  • Yet another OutOfMemory exception & Signal 11 crashes
  • Mon, 24 Sep 2007 02:14:00 GMT
  • OK, so it's the following scenario, I have a couple of servers running Tomcat with JDK 5.0 once in a while and this is a problem I've been having forever. I've tried different GC parameters, added object pooling but never seemed to be very lucky with it.The servers tend to crash "randomly". ...
  • Yet another FindClass problem. should be simple for most of you
  • Sun, 23 Sep 2007 12:54:00 GMT
  • I have a Java program senderjndi.java in which I write to a queue using JMS.I want to call the main method of the senderjndi class through a C++ routine.However, the FindClass method fails to locate the senderjndi class.Can someone please help me out on this one? I'm new to JNI, and I've ...
  • Yet another EXCEPTION_ACCESS_VIOLATION
  • Sun, 23 Sep 2007 12:50:00 GMT
  • Don't know what to do ! My application was working perfectly, I made some trivial changes and it crashes everytime. Using -Xint flag sometimes it can complete.Using some System.out.println the problem seems to occour inside a library function (ChartUtilities.saveChartAsPNG of JFreeChart)The ...
  • Yahoo! Groups applet
  • Wed, 30 Apr 2008 10:08:00 GMT
  • I am not especially technically minded so this is a cry for some helpfrom someone with technical expertise and a way of putting it acrossto the layman.Here is my problem: I am unable to see, let alone use, the voice chatfacilities within a Yahoo Group. Other people I know have got this. Iunderst...
  • yahoo pool java applet plz help
  • Mon, 24 Sep 2007 16:15:00 GMT
  • i was having no probs with yahoo pool till 2 days back. and now the applet just wont open. some1 told me i must install java which i did and still nothin. there is a red x mark at the top left side. some1 help me plzzzzzzzzzz....
  • yahoo pool java applet plz help
  • Mon, 24 Sep 2007 15:36:00 GMT
  • i was having no probs with yahoo pool till 2 days back. and now the applet just wont open. some1 told me i must install java which i did and still nothin. there is a red x mark at the top left side. some1 help me plzzzzzzzzzz....
  • Yahoo Pool from within open chat box crashing when using the mimimize butto
  • Mon, 24 Sep 2007 15:39:00 GMT
  • While using my version 5 update 6 SUN java and while playing yahoo pool in an open chat box I frequently need to use the minimize button. This causes a "crash" (read:program not responding) everytime!. I have done every tweak possible to my system using a PENT III with 512k of ram and a fresh ...
  • I play online games at Yahoo.com.Every time i exit...
  • Mon, 24 Sep 2007 00:00:00 GMT
  • I play online games at Yahoo.com.Every time i exit the games, i have do go to task manager and manually "end' the web site.I think this is a Java Runtime problem, because before i had to up date the jave conttrol panel. i didnt have this problem.Also, it is happening on 2 different machines, ...
  • Y in java objects are created on heap only n not on stack ?
  • Wed, 19 Sep 2007 07:56:00 GMT
  • Hi ,I need a answer to the question " why all the objects are created on heap only in java and not on stack " ?In java a object is created when we specify new i.e. for example,consider the following cases.1.Vector v = new Vector();here object is created and the reference to this object is ...
  • XX:-UseParNewGC in java 5
  • Thu, 15 Nov 2007 09:10:00 GMT
  • If you use -XX:+UseParNewGC , Parallel YG collector will be used.But If I mention "-XX:-UseParNewGC" with -XX:+UseConcMarkSweepGC" in java 5, what type of collector would be use for YG? Please clarify.Message was edited by: tech_luver...
  • XX:SurvivorRatio JVM option
  • Tue, 25 Sep 2007 11:09:00 GMT
  • Hi everyone!I launched my application using for GARBAGE COLLECTION these options: -Xmx512m -Xms512m -XX:MaxNewSize=24m -XX:NewSize=24m -XX:SurvivorRatio=2 -XX:+UseConcMarkSweepGC -XX:+UseParNewGCSurvivorRatio is 2, so I expect two survivors spaces of 6 MB each one and an eden space of 12 MB. ...
  • XX:NewSize & MaxNewSize vs. -XX:NewRatio
  • Fri, 21 Sep 2007 13:39:00 GMT
  • I have a 2.5G JVM (1.3.1). Profiling indicates our app creates too many temporary objects resulting in large/slow GCs. So, I'd like to increase the size of the young generation space in the JVM. My question is: what is the best setting to use for this? NewRatio or NewSize/MaxNewSize ? Are you ...
  • XX:MaxPermSize=128m & JDK 1.3.1_9
  • Fri, 21 Sep 2007 15:31:00 GMT
  • Hi:Problem threads start disppering on WL7.0sp4 went we start getting java.lang outofmemory, could it be that we need to set XX:MaxPermSize=xxx parametersHas the out of memory problem been fixed in JDK 1.3.1_09 B03, that exsited with previous version of JDK1.3. example XX:MaxPermSize=128m.Thank ...
  • XX:MaxPermSize on HP-Tru64
  • Fri, 21 Sep 2007 09:32:00 GMT
  • I want to use -XX:MaxPermSize as an option to my java command. That option can be used with HP-UX, SUN JDK but Tru64 has not got the option.(atleast I didn't find) Can anybody please help me? Please let me know whether it is possible or any alternate way....
  • XX:DefaultMaxRAMFraction=VALUE
  • Wed, 14 Nov 2007 15:55:00 GMT
  • Sun's 1.5 JVM has some heap size configuration parameters that are not available in their 1.4 and earlier JVMs. For Sun's 1.5 JVM (not 1.4), there is the following documentation on sun's website: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.0.%20Heap%20Size%7CoutlineIf not ...
  • XX:+PrintTenuringDistribution not working
  • Mon, 24 Sep 2007 11:39:00 GMT
  • I'm using JDK 1.5.0_04 (and 1.5.0_06) on sparc. My GC logging seems to work OK, however, when I use the '-XX:+PrintTenuringDistribution' option, it just seems to be ignored - no tenuring info gets printed to the log.Has anyone else successfully used this option w/ ...
  • XX:+PrintGCDetails don't show info for Full GC (but only Unloading class)
  • Sun, 23 Sep 2007 05:54:00 GMT
  • With -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStampsWe don't get the information about what is happeing when the full GC is done after Tenure is bigger than 32m.It looks like this:0,000: [Full GC 0,001: [Tenured: 0K->8074K(868352K), 0,6957042 secs] 123515K->8074K(1089536K), [Perm ...
  • Java Technology Blogs
  • "Java HotSpot Virtual Machine" Related Questions
  • API to get Network statistics
  • Hi.Is there a Window's API that I can make use of to get connection statistics for an LAN connection that I can call from Java code using JNI technology?I'm interested in the conneciton duration, bytes sent and received...
  • Strange Native Library Behaviour
  • Hello,I have a strange problem i wish i find a clue for it.i developed a java application that uses a native library (windows dll), when i use System.load("C:\\myLibrary.dll"); and the dlls are in C, the application runs very well. The problem is that when i want to put my DLLs on another ...
  • Windows, & Generating Stack Traces....
  • Greetings,I'm attempting to automate the capturing of the Java Thread Stack Trace in Sun JVMs. On Solaris (or any other Unix variant) this is trivial - kill -QUIT <pid> and out comes the stack info.However, I'm somewhat more confused about Windows 2000. I know you can press ...
  • What Hotspot means
  • i'm new to java i want to know some info and URLs about it, and also hear about Starting JVM and Attaching Processes to JVM or JVM server.i'm realy confused and need some explaination, URLs, Tutorials,....thanks for help ...
  • does java vm uses the IPP?
  • Hi,does anybody know whether Sun's java vm makes uses of Intel'sIPP-library? I do not know anything about vm-technology but i couldimagine the jit-compiler to detect code snippets which are equal in senseof the result with the return-value of a ipp-function.For sure such an approach ma...
  • Pager Messaging
  • Hi,i require ur precious suggestions for the following:There is a Desktop PC/Server running in Y location, which may run any platform (windows/Linux/Unix/etc)To monitor the proper functioning of the Server at X a person needs to attend the system periodically. This is a hectic work since the ...
  • to convert VB Code to java
  • Hi All, Can any one help me how to convert this VB Code to java? AddIns("C:\Documents and Settings\All Users\Application Data\Microsoft\Templates\Custom.dot").Installed=True...
  • We have purchased an applicative software that req...
  • We have purchased an applicative software that require JVM 1.1.5 (isnot working with 1.1.6), and require that file %programFiles%\java\jre1.5.0_12\lib\security\java.security will be updated with thissyntax:grant {permission java.security.AllPermission;};Well, for me that's it's a...
  • urgent JNI-C-informix 4gl communication
  • We are working on a project to take the compiled version of Informix 4GL andintegrate it with our Java applications. I will stay away from why, just tryingto figure out how.We are using JNI to call C program which will in turn call informix 4gl. We are able to call C function but this function ...
  • Show loaded Dynamic Lib's in JVM
  • Hi all!I'm trying to find out what Dynamic libraries are loaded (and at which addresses) in the JVM when running my Java App.I've seen dumps with the stack trace and DL list in the topic thread about "JVM 1.4 seg faults with pure java code?" (forum JRE). How can I generate dumps like this? ...