Open pshipton opened 5 years ago
@babsingh Can you take a look given the crashes are in locking calls? Its likely a issue in the callers but someone needs to take the first look
JVMJITM004W AOT code in shared class cache cannot execute on current processor. Ignoring AOT code in shared class cache.
fyi @dsouzai
JVMJITM004W AOT code in shared class cache cannot execute on current processor. Ignoring AOT code in shared class cache.
From what I can tell, this is very likely because the SCC was created without any extra JIT options, but then in Step 16 - Run Jvm4 workload process
the java command has -Xaot:forceAot,disableAsyncCompilation,count=0
. This means that the SCC was created with the JIT running in asynchronous compilation mode and then in Step 16, the JIT is running in synchronous compilation mode. This would cause this validation to fail:
https://github.com/eclipse/openj9/blob/eb34cfa086458315a5842237d1c08aa2cc81e303/runtime/compiler/runtime/RelocationRuntime.cpp#L1010-L1011
@dsouzai why is asynchronous incompatible with synchronous?
Heh, I don't exactly know why because this seems to have been a validation that existed well before I started working on the compiler :).
The vague notion I have is that it has to do with the preprologue that is generated in each compiled body, in that it's different if the compile was done synchronously or asynchronously.
@mpirvu @vijaysun-omr @mstoodle are probably the ones who would know for sure.
Unable to reproduce the issue. SC_Softmx_JitAot_0
has passed in the last 30 mac nightly builds: https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_extended.system_x86-64_mac_Nightly/. Both the Mac and Linux test variants use -Xaot:forceAot,disableAsyncCompilation,count=0
.
https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_extended.system_x86-64_mac_Nightly/167 SC_Softmx_JitAot_0 16.jvm4.stderr
https://ci.eclipse.org/openj9//job/Grinder/parambuild/?JDK_VERSION=8&JDK_IMPL=openj9&BUILD_LIST=system&JenkinsFile=openjdk_x86-64_mac&TARGET=SC_Softmx_JitAot_0&SDK_RESOURCE=upstream&CUSTOMIZED_SDK_URL=https://140-211-168-230-openstack.osuosl.org/artifactory/ci-eclipse-openj9/Build_JDK8_x86-64_mac_Nightly/169/OpenJ9-JDK8-x86-64_mac-20191010-022354.tar.gz%20https://140-211-168-230-openstack.osuosl.org/artifactory/ci-eclipse-openj9/Build_JDK8_x86-64_mac_Nightly/169/native-test-libs.tar.gz&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=ab89294b-5ba1-48e9-8c85-107daca5a2e9