-
Notifications
You must be signed in to change notification settings - Fork 15
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
[20.2] Backports included in Mandrel/20.1 #117
Conversation
* Before this patch, the image would contain zone rules cache from the JVM computing the image. * Side effects here, such as class or source cache lookups, were affecting its contents and leading to error when writing image. * With this change, we guarantee that the zone rules cache in the image is a brand new instance, separate from the one in the JVM computing the image.
Since inlined methods may be defined in a different file than the one defining a compiled method, the cache paths of all the source files contributing code to the compiled method need to be set as the compilation directory to make gdb work. E.g. If: 1. `foo` invokes `bar` and `baz` 2. `bar` and `baz` get inlined in `foo` 3. `foo`'s source file is cached in `sources/src` 4. `bar`'s source file is cached in `sources/jdk` 5. `baz`'s source file is cached in `sources/graal` then the compilation directory in `foo`'s compilation unit needs to be set to `sources/src:sources/jdk:sources/graal`
This reverts commit 75651ac.
Partial revert of "Adds DW_AT_comp_dir attribute to debug info" commit 4f231ab. Closes oracle#2751
Since graal is sensitive to JDK changes printing the build number along with the java version, makes issue reporting and debugging a bit easier.
With JDK-8236548 in OpenJDK 11 an issue running a generated native image may arise on programs using TimeZone.getDisplayName(). With JDK-8236548 this might become more noticeable since it now occurs on the English locale too (no caching of English locales happens any more). Since all time zone data is included by default now, also include the TimeZoneNames resource bundle by default. Closes: graalvm#106
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. I'd suggest to add some automation for forward-branch merges (20.1 => 20.2 in this case) which opens those PRs automatically.
+1 but it will require some effort. Doing it manually I found out that:
|
^^ That's for the initial sync however. For new PRs it should be easier. |
Thx @zakkak for handling this.
+1. The only dependency we had was ASM and that is gone now. So we can skip those.
Why do you need the link to the upstream PR? |
The dependency updates were pushed by Oracle not us, so these commits were not actually backported, just commits in 20.1 that are not in 20.2. So we essentially need to get the commits that are both on 20.1 and master but not on 20.2 (we will need to work on a new command combo for this :) )
IMO This makes reviewing and keeping track of what's going on easier. Additionally at some point we should create a changelog and I think linking to PR's instead of commits is better (less verbose). |
Backports of: