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
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in JAVA-7
- How to resolve browser crash issue in JavaFX?
- What is the code convention for formatting try-with-resources?
- Tomcat failing to startup
- How do I programmatically perform feature detection in Java?
- How do I define constants that must be overridden inside an interface?
- Getting EOFException with embeded tomcat 7
- Java: must cast to short, cannot use shorthand 'S'
- Why introducing Autocloseable instead of extending the possible exceptions in Closeable
- Java VM hang after VMStartEvent
- Good way to convert Optional<Integer> to Optional<Long>
- How to use jmap remotelly without SSL?
- Is there way to watch a directory in Java 7 non-recursively?
- Is the grammars in Java7 spec really equivalent?
- Dynamic Method Calls
- How to make a folder non-readable in Java?
Related Questions in JVM-HOTSPOT
- How precisely do Java arrays use memory in HotSpot (i.e. how much slop)?
- Why is Java faster if it repeats the same code?
- Disable JRockit Optimzation per class
- How do I check assembly output of Java code?
- Understanding internal fragmentation properties of Hotspot JVM process
- Java 8 reserves minimum 1G for Metaspace despite (Max)MetaspaceSize
- What's this new column in -XX:+PrintCompilation output?
- Can OSR-compiled methods be used by a subsequent call?
- How the survivor size is calculated
- Dynamic Bytecode Instrumentation fails without any error
- JVMTI RetransformClasses() is taking a lot of time
- Is Ordinary Object Pointer a pointer or an object structure in HotSpot?
- weakCompareAndSwap vs compareAndSwap
- Hotspot JVM - G1GC Heap resizing issue
- Extremely long pause times for concurrent mode failure and promotion failure
Related Questions in JROCKIT
- Disable JRockit Optimzation per class
- JRockit full memory dump
- when I open mission control flight recording file I get exception
- Will Oracle merge JRockIt and the Standard JDK?
- Query about JRockit Garbage Collection
- Specify JRockit or JDK to Maven
- Memory Leak WSEndpointImpl
- Hessian with JRockit Compatibility
- How to compact database using vb.net application programatically, I tried JRO engine but it's not working
- Jdeveloper - Unrecognized option: -jrockit
- Java 7 JVM slower than JRockit 6?
- What impact should be considered in switching to using jrockit jvm for application servers running significant amounts of groovy code?
- NoClassDefFoundError: bea/jmapi/MethodProfileData when profiling app using JRockit Mission Control
- Caveats to watch for in transition from Sun JVM to JRockit?
- The ColdFusion Java Heap works perfect when JRockit Console window is open, but memory use skyrockets then crashes when JRockit Console is closed
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 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.