RFR: 8278753: Runtime crashes with access violation during JNI_CreateJavaVM call
    Daniel D.Daugherty 
    dcubed at openjdk.java.net
       
    Wed Jan 26 20:53:29 UTC 2022
    
    
  
On Tue, 25 Jan 2022 00:20:19 GMT, Yumin Qi <minqi at openjdk.org> wrote:
> Please review,
>   When jlink with --compress=2, zip is used to compress the files while doing copy. The user case failed to load zip.dll, since zip.dll is not set in PATH. This failure is after we get NULL from GetModuleHandle("zip.dll"), then do LoadLibrary("zip.dll") will have same result.
>   The fix is calling load_zip_library of ClassLoader first --- if zip library already loaded just return the cached handle for following usage, if not, load zip library and cached the handle.
> 
>   Tests: tier1,4,7 in test
>    Manually tested user case, and checked output of jimage list <modules> for jlinked files using --compress=2.
> 
> Thanks
> Yumin
Your Tier7 failure is likely this known bug:
    JDK-8280601 ClhsdbThreadContext.java test is triggering codecache related assert in PointerFinder.find()
    https://bugs.openjdk.java.net/browse/JDK-8280601
-------------
PR: https://git.openjdk.java.net/jdk/pull/7206
    
    
More information about the hotspot-dev
mailing list