JVM interface header src location?

Andrew Leonard andrew_m_leonard at uk.ibm.com
Thu Jan 11 15:34:54 UTC 2018


Hi, with the new repo consolidation in JDK10+ the JVM interface headers 
(jvm.h and jvm_md.h) have moved from under 
jdk/src/java.base/share|<OS>/native/include/ to 
    src/hotspot/share/include/jvm.h
    src/hotspot/os/windows/include/jvm_md.h
    src/hotspot/os/posix/include/jvm_md.h
This implies these are "hotspot" headers, when they are actually generic 
JVM interface definitions. So for example if previously a 3rd party JVM 
implementor (eg.Eclipse OpenJ9) who does not clone the hotspot repo, and 
now does not clone the hotspot "folder", will now fail to find these 
generic headers...

Wouldn't it be better for these headers to be under some generic "jvm" or 
"base" include folder?

Thanks
Andrew

Andrew Leonard
Java Runtimes Development
IBM Hursley
IBM United Kingdom Ltd
Phone internal: 245913, external: 01962 815913
internet email: andrew_m_leonard at uk.ibm.com 

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


More information about the hotspot-dev mailing list