[Bug 46927] Oracle Java SE Runtime Environment 7/8, OpenJDK JVM for Windows with '-XX:+UseNUMA' setting needs kernel32.dll.VirtualAllocExNuma (Minecraft)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 30 15:28:02 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=46927

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
            Summary|procedure entry point       |Oracle Java SE Runtime
                   |VirtualAllocExNuma could    |Environment 7/8, OpenJDK
                   |not be located in the       |JVM for Windows with
                   |dynamic library             |'-XX:+UseNUMA' setting
                   |KERNEL32.dll                |needs
                   |                            |kernel32.dll.VirtualAllocEx
                   |                            |Numa (Minecraft)
           Keywords|patch                       |download

--- Comment #11 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

adding more info...

--- snip ---
$ grep -ralZ VirtualAllocExNuma .wine/drive_c | xargs -r0i bash -c "echo \"{}\"
&& winedump -j import \"{}\" | grep VirtualAllocExNuma"
.wine/drive_c/Program Files/Java/jre7/bin/client/jvm.dll
--- snip ---

http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/87ee5ee27509/src/os/windows/vm/os_windows.cpp#l2848

http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/87ee5ee27509/src/os/windows/vm/os_windows.cpp#l2883

You can likely reproduce with any Java app. You just need to pass
'-XX:+UseNUMA' to the JVM. It will set 'UseNUMAInterleaving' which in turn
resolves into these API. Pretty sure the crash report for Minecraft (log file)
contains this setting.

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list