Skip to content

Changes to utilize default +UseContainerSupport in new releases of Java#47

Open
imranzunzani wants to merge 1 commit into
fabric8io-images:masterfrom
imranzunzani:master
Open

Changes to utilize default +UseContainerSupport in new releases of Java#47
imranzunzani wants to merge 1 commit into
fabric8io-images:masterfrom
imranzunzani:master

Conversation

@imranzunzani

Copy link
Copy Markdown

Updates in run-java.sh to use latest VM provisions and switches for running Java in containers.
-XX:InitialRAMPercentage
-XX:MaxRAMPercentage
-XX:MinRAMPercentage

@imranzunzani

imranzunzani commented Jul 2, 2019

Copy link
Copy Markdown
Author

@rhuss,
Could you please review?
These are changes to run-java.sh as per new features in the JDK.
We discussed about these over #46

@rhuss

rhuss commented Jul 2, 2019

Copy link
Copy Markdown
Contributor

Oops. Sorry for the delay, the notification slipped through somehow ;-(

You must not change run-java.sh directly, but send a PR to https://github.com/fabric8io-images/run-java-sh The files here a auto-generated with a framework called fish-pepper.

So the steps would be:

Sorry for the delayed response ...

@imranzunzani

Copy link
Copy Markdown
Author

Hi @rhuss,
I created the PR but the vm_test(s) are failing owing to assertions for +UseParallelGC which is not required with the new switches and the tests are also not recognising the new options.
Could you please take a look and let me know what should be changed regarding these old assertions?

@rhuss

rhuss commented Jul 3, 2019

Copy link
Copy Markdown
Contributor

Hi @rhuss,
I created the PR but the vm_test(s) are failing owing to assertions for +UseParallelGC which is not required with the new switches and the tests are also not recognising the new options.
Could you please take a look and let me know what should be changed regarding these old assertions?

Yes, I can do but I can't promise a timeframe as I have currently quite a bit on my table (sorry). Please ping me again, when I should come back to you within the next weeks.

However, maybe @astefanutti could jump in ?

@imranzunzani

Copy link
Copy Markdown
Author

@rhuss,
It took me some time and digging to figure out the test logic and relations among the artefacts for CI (Tests).
I have made changes, so that the tests are now in sync with the new features and switches of the JDK.
Could you please help by reviewing the PR or by asking someone to review it, and then merge if things look good?
By the way, the new logic will work only with version > 8u212 which means that JDK 7 won't work, but since the Tests were for JDK 8 and JDK 11, I believe it is alright.

@imranzunzani

Copy link
Copy Markdown
Author

@rhuss,
Just reminding you.
Please take a look.

@Paramchoudhary

Copy link
Copy Markdown

Good job

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.

3 participants