Comments (7)
We're working on that. Here are some basics, hopefully this helps at least a bit :
The Extensions for OpenJDK for OpenJ9 repository (https://github.com/ibmruntimes/openj9-openjdk-jdk9) is a git mirror of the OpenJDK hg forest but does not include the HotSpot JVM (that's the master branch). The goal is for that master branch to bring OpenJDK commits across as they happen. The "openj9" branch in this repository adds a set of patches to the OpenJDK files to allow Eclipse OpenJ9 to integrate as the JVM. IBM has chosen, for the moment, to maintain this code themselves without accepting external contributions. That's a work in progress and we are very much intending to contribute that code to OpenJDK (hopefully as soon as possible) so that we can open up the access to those code changes.
When you follow our build instructions, you clone this "Extensions" repository, checkout the openj9
branch, and then build it the same way you would build OpenJDK. When you run bash get_source.sh
, it will fetch two additional repositories specific to Eclipse OpenJ9: https://github.com/eclipse/openj9 , and an OpenJ9 mirror of the Eclipse OMR project https://github.com/eclipse/openj9-omr .
The Eclipse OpenJ9 repository is a JVM. It is built using the technology components (platform porting library, garbage collection, just in time compiler) from the Eclipse OMR project.
To facilitate working with the Eclipse OMR code base, Eclipse OpenJ9 maintains its own mirror of Eclipse OMR (that's the openj9-omr repository) along with an "openj9" branch which we can use for a couple of purposes. One @DanHeidinga outlined in his response above (to track changes happening in Eclipse OMR to see if anything breaks OpenJ9). Another is so that we have a place where we can make coordinated changes (dependent changes between OpenJ9 and OMR) without using the full turnaround time through the Eclipse OMR project. As Dan says, though, our goal is always to upstream to Eclipse OMR as much as possible, because it's more efficient to maintain the code upstream.
Not all of these "flows" have been automated yet. We should really have issues opened so people can track that work @AdamBrousseau @charliegracie
from openj9.
Preferably, contributors will submit to Eclipse OMR directly and those will "reach" the OpenJ9 project via what will eventually be a mostly automated flow into the "openj9" branch of openj9-omr.
If there's a need to deliver something more quickly or you can convince us that there's a really good reason to do the change first in Eclipse OpenJ9, then we'll consider a PR filed against the openj9 branch of openj9-omr.
from openj9.
Please clearly state and link to the co-dependencies in the pull requests so the committers can coordinate merging the changes. Obviously they all need to be reviewed and approved before any are merged.
The automation is not yet in place to mirror from https://github.com/eclipse/omr/ to https://github.com/eclipse/openj9-omr/ so it's currently a manual process to bring OMR updates to OpenJ9.
from openj9.
The openj9-omr mirror exists for a couple of reasons: one of the primary ones being to allow tagging the OMR level and OpenJ9 level consistently.
The goal is always to make changes in the upstream project (Eclipse OMR / OpenJDK) if they are outside the core OpenJ9 code base and consume them into OpenJ9 from there.
from openj9.
So, is there any documentation about all these repos and how they tie together?
from openj9.
To clarify: Is the expectation going to be that contributors delivering a dependent change will open their own PR against openj9-omr on the openj9 branch? Or will committers take care of that, based on their judgement?
from openj9.
Mark's summary above looks like a candidate for the sort of short pieces of info that might work well in the wiki (#1565). Or did we already document this elsewhere?
from openj9.
Related Issues (20)
- jdk_lang_0_FAILED jdk/lambda/vm/InterfaceAccessFlagsTest.java RuntimeException: IOException encountered during compilation HOT 1
- JDK23 abuild failure jvminit.c:7464: undefined reference to `initializeJFR' HOT 2
- jdk11.0.24+1 requires jtreg version 7.3.1 b1 or higher HOT 2
- ECDHKeyAgreementParamValidation fails in jdk23
- serviceability_jvmti_j9_0_FAILED serviceability/jvmti/vthread/BoundVThreadTest/BoundVThreadTest.java Segmentation error vmState=0x00040000 HOT 2
- JDK23 SharedClasses.SCM01.MultiThreadMultiCL_1_FAILED NumberFormatException: For input string: "-Xdump:system+java:events=throw,filter=java/lang/NullPointerException#java/lang/invoke/BruteArgumentMoverHandle.permuteArguments*" HOT 17
- Consolidate j9vm files to single C++ file HOT 3
- Upgrade minimum acceptable cmake version HOT 2
- Update zlib to 1.3.1 or the latest
- HeapHogLoadTest_5m_0_FAILED Segmentation error vmState=0x00000000 HOT 14
- jdk_lang_1_FAILED java/lang/ProcessBuilder/Basic.java#id0 AssertionError: Some tests failed
- Valhalla tests failed to compile HOT 1
- Add implementation for new JNI functions in Valhalla HOT 1
- Assertion failed in testJITServer_0: Pointer for offset could not be found in deserializer shared cache HOT 5
- jdk_util_1_FAILED java/util/ResourceBundle/Bug4168625Test.java testLowMemoryLoadstderr OOM HOT 3
- monitorenter/monitorexit should throw IdentityException on Value Objects
- Build failure on M3: ld: symbol(s) not found for architecture arm64 HOT 1
- jdk_text_0_FAILED java/text/Format/NumberFormat/NumberRegression.java RuntimeException: Uncaught exception thrown in test method Test4122840
- jdk_security3_0_FAILED sun/security/ec/TestEC.java ProviderException: Could not convert keys to native format HOT 4
- testSCCMLTests1_openj9_0_FAILED Required condition was not found HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openj9.