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

Add new configure option --with-mixedrefs for mixed pointer mode #458

Merged
merged 1 commit into from
Nov 13, 2020

Conversation

sharon-wang
Copy link
Contributor

@sharon-wang sharon-wang commented Nov 12, 2020

@sharon-wang
Copy link
Contributor Author

FYI @keithc-ca @gacholio

@sharon-wang
Copy link
Contributor Author

The generated-configure.sh file automatically removed runstatedir-related code. Is this supposed to happen?

@keithc-ca
Copy link
Member

The generated-configure.sh file automatically removed runstatedir-related code. Is this supposed to happen?

That's a sign that you're using a slightly older version of autoconf (even though it might report it's version 2.69). The one in Ubuntu 18.04 or newer won't do that.

If --with-mixedrefs is specified in the configure command, the 'default'
OPENJ9_LIBS_SUBDIR is used for the build. The mxdptrs CMake file corresponding
to the build OS is used as the OPENJ9_BUILDSPEC. --with-mixedrefs=[static/dynamic]
sets the reference determination mode. --with-mixedrefs without any value provided
defaults to static mode.

OMR_MIXED_REFERENCES_MODE is communicated to OpenJ9 and OMR through CMake args.

Fail configure if --with-mixedrefs is used without CMake enabled.

The new mxdptr build specs are defined in OpenJ9.

The compressed and full GC libraries generated with the mixed build work are
copied to the OPENJ9_LIBS_SUBDIR alongside the other existing libraries.
    j9gc29, j9gcchk29 are always copied
    j9gc_full29, j9gcchk_full29 are copied when running in mixedrefs static mode

If an OpenJ9-equivalent OS has been specified in OPENJ9_BUILD_OS,
use the specified OS string to override the provided
OPENJDK_BUILD_OS.

Use OPENJ9_BUILD_MODE_ARCH to capture the other half of the
OPENJ9_BUILDSPEC, where the architecture and the pointer mode
(or other additional modes/settings) are specified.

Signed-off-by: Sharon Wang <sharon-wang-cpsc@outlook.com>
@sharon-wang
Copy link
Contributor Author

Yes, I was building on OSX and it was reporting v2.69 for autoconf. I've run the autogen script again on Ubuntu 20.04 -- runstatedir-related code is now un-removed.

@keithc-ca
Copy link
Member

Jenkins compile aix,osx,win,win32,zlinux jdk8

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

Successfully merging this pull request may close these issues.

None yet

2 participants