RFR(M): 8171181: Supporting heap allocation on alternative memory devices

Kharbas, Kishor kishor.kharbas at intel.com
Fri Jul 21 01:34:44 UTC 2017


I have a new version of this patch at http://cr.openjdk.java.net/~kkharbas/8171181/webrev.06/

This version has been tested on Windows, Linux, Solaris and Mac OS. I could not get access to AIX for testing.
I used tmpfs to test the functionality. Cases that were tested were.

1.       Allocation of heap using file mapping when -XX:HeapDir= option is used.

2.       Creation of nameless temporary file for Heap allocation which prevents access to file using its name.

3.       Correct deletion and freeing up of space allocated for file under different exit conditions.

4.       Error handling when path specified is not present, heap size is more than size of file system, etc.

- Kishor

From: Kharbas, Kishor
Sent: Tuesday, July 11, 2017 6:40 PM
To: 'hotspot-gc-dev at openjdk.java.net' <hotspot-gc-dev at openjdk.java.net>
Cc: Kharbas, Kishor <kishor.kharbas at intel.com>
Subject: RFR(M): 8171181: Supporting heap allocation on alternative memory devices

Greetings,

I have an updated patch for JEP https://bugs.openjdk.java.net/browse/JDK-8171181 at http://cr.openjdk.java.net/~kkharbas/8171181/webrev.05
This patch fixes the bugs pointed earlier and other suggestions to make the code less intrusive.

I have also sent this to 'hotspot-runtime-dev' mailing list (included below).

I would appreciate comments and feedback.

Thanks
Kishor

From: Kharbas, Kishor
Sent: Monday, July 10, 2017 1:53 PM
To: hotspot-runtime-dev at openjdk.java.net<mailto:hotspot-runtime-dev at openjdk.java.net>
Cc: Kharbas, Kishor <kishor.kharbas at intel.com<mailto:kishor.kharbas at intel.com>>
Subject: RFR(M): 8171181: Supporting heap allocation on alternative memory devices

Hello all!


I have an updated patch for https://bugs.openjdk.java.net/browse/JDK-8171181 at http://cr.openjdk.java.net/~kkharbas/8171181/webrev.05
I have lost the old email chain so had to start a fresh one. The archived conversation can be found at - http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2017-March/022733.html


1.       I have worked on all the comments and fixed the bugs. Mainly bugs fixed are related to sigprocmask() and changed the implementation such that 'fd' is not passed all the way down the call stack. Thus minimizing function signature changes.


2.       Patch supports all OS'es. Consolidated all Posix compliant OS's implementation in os_posix.cpp.



3.       The patch is tested on Windows and Linux. Working on testing it on other OS'es.


Let me know if this version looks clean and correct.

Thanks
Kishor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20170721/eea68cd4/attachment.htm>


More information about the hotspot-gc-dev mailing list