Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javacore does not identify z/OS hardware #94

Open
pshipton opened this issue Sep 21, 2017 · 3 comments
Open

javacore does not identify z/OS hardware #94

pshipton opened this issue Sep 21, 2017 · 3 comments

Comments

@pshipton
Copy link
Member

pshipton commented Sep 21, 2017

The javacore for z/OS shows "OS Level" like "z/OS 02.02.00", and "Architecture : s390x" but no other details about the hardware being used. @joransiu has suggested adding in the raw STFLE bits.

@joransiu
Copy link
Member

In addition to STFLE bits, we'd probably like to document in OS section the auxvector list of features on Linux and relevant CVT bits on z/OS -- would give us the necessary information to understand what the underlying stack support are for the HW features we exploit.

@joransiu
Copy link
Member

/cc @fjeremic.

@fjeremic
Copy link
Contributor

We read the STFLE bits in j9sysinfo.c in function testSTFLE(struct J9PortLibrary *portLibrary, uint64_t stfleBit). This is a good starting place. It looks like we cache the bits in PPG_stfleCache which is defined as:

#define PPG_stfleCache (portLibrary->portGlobals->platformGlobals.stfleCache)

Sounds like we can use this cache to print the STFLE double words when we generate the javacore. It looks like we save the CVT bits and auxvector as well in the same file in a nearby place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants