I am aware that JDK 7 is supposed to be a merger between hotspot and jrockit and that there will not be a jrockit 1.7. (Source: https://blogs.oracle.com/henrik/entry/java_7_questions_answers) I have a project that requires the non-contiguous heap feature of jrockit as well as some java 1.7 features, so since JDK 7 is a merger, does it support non-contiguous heap because I can't find an offical documentation which says so?
Does JDK 7 use non-contiguous heap?
1.4k Views Asked by shawn At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in JAVA-7
- How to Force HttpClient 3.0.1 to use TLS 1.3?
- Need JDK installer for jdk 7 7u191
- Font-face icons not displayed correctly after jdk and struts update
- I am trying to upgrade a soap based web service which is using tomcat 7 and jdk 1.7 to tomcat version 8.5 and same jdk version
- Rotatating page using PDFBOX library having issue
- java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module
- JavaFX, Alt+Num (0-127) different for Java 7u80 (gibberish) vs Java 8u202 (normal ASCII), both default chatset UTF-8
- How to enable the TLSv1.2 support in java 7
- How to Use SMBv2 with Java 7 to read file from Protected Network Drive within My company network
- Add support for AES-GCM for TLS in Java 7
- maven build issues with Java7
- ClassCastexception thrown while upgrading java 7 to java17 and tomcat 7 to 10
- Upgrading project java-7 to java-17 and tomcat-7 to tomcat-10
- Elasticsearch query null check for two fields with OR condition
- Mojo Dependency issue with java 1.7
Related Questions in JVM-HOTSPOT
- Why doesn't Hotspot JIT optimize-out code that has no external effects?
- Java native access violation is not triggering the windows jit debugger
- OpenJDK Tracking ReentrantLock lock and unlock
- Why are there extra logs in /tmp under -XX:+LogCompilation?
- Why do we need Thread.sleep after calling System.gc in JDK native memory usage scenario?
- Interpreter resolve get/put method only resolves the first access to a field
- How does java.c determine which to call since there are three function implementations for different systems in Jdk8?
- Is there any good examples of jvm reuse LocalVariableTable slot?
- Why is the code cache not flushed even if code cache gets full?
- Will sending `kill -11` to java process raises a NullPointerException?
- JVM option --XX MaxJavaStackTraceDepth when I decrease any value below 10, It is not working
- JVM stack depth: JVM internal vs C++ calling through JNI
- How to print generated assembly code for intrinsic functions in the "java.lang.Math"?
- Impact of heap space / non heap space memory on number of possible threads for a jvm process
- How does the hotspot VM handle the CMF(concurrent mode failure)?
Related Questions in JROCKIT
- How to compact database using vb.net application programatically, I tried JRO engine but it's not working
- Error with weblogic upgrade from 10.3 to 12.1.1
- How can i debug or handle the replication Session data causing the lazy unlocked in weblogic server
- Java JAXB encoding issue
- How can I import crt and key through of the Jrockit Keytool
- Java Mission Control empty plugin list
- "Algorithm ECDH not available" using bcprov & bctls on JRockit 6
- JRocket : Thread Stuck at jrockit/vm/Locks.park0
- Why do JIT Compiler need to translate bytecode to another intermediate representation before generating machine code
- Long Pause During Sweep Switch in Jrockit Old Collection
- Frequent Full GC & Zero Reclaim During MInor GC
- Weblogic Java thread getting stuck
- GC Compaction pause issue in jrockit
- is there Oracle JRockit 8 version which is equivalent to JDK 1.8 version
- Will jrockit upgrade requires nodemanager to re-enroll with Weblogic domain
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I assume that you are asking about non-contiguous heaps because you are suffering from memory fragmentation. A lot of the time your 32-bit address space is fragmented, but your 64-bit address space is not. Meaning, if your computer has sufficient memory, using a 64-bit JVM will allow you to find contiguous memory that a 32-bit JVM will not. I have personally used a 64-bit JVM to allocate heaps over 4GB when a 32-bit JVM failed to allocate a heap over 2GB.
Although it doesn't look like arbitrary non-contiguous heaps made it into JDK 7, you can try using the G1 garbage collector. According to http://www.oracle.com/technetwork/java/javase/tech/g1-intro-jsp-135488.html:
Theoretically speaking, this allows you to play with a non-contiguous heap. The only limitation is that the regions must be of equal size.
According to http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/G1GettingStarted/index.html#t6 you can use this command-line option to control the region size:
I hope this helps.