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

Fix procdump #89

Merged
merged 3 commits into from
Nov 5, 2020
Merged

Fix procdump #89

merged 3 commits into from
Nov 5, 2020

Conversation

lumpfish
Copy link
Contributor

@lumpfish lumpfish commented Nov 5, 2020

No description provided.

Signed-off-by: Simon Rushton <srushton@redhat.com>
Signed-off-by: Simon Rushton <srushton@redhat.com>
Signed-off-by: Simon Rushton <srushton@redhat.com>
@lumpfish lumpfish requested a review from Mesbah-Alam November 5, 2020 12:13
@lumpfish lumpfish self-assigned this Nov 5, 2020
@lumpfish lumpfish added the bug label Nov 5, 2020
@lumpfish
Copy link
Contributor Author

lumpfish commented Nov 5, 2020

sanity.system test runs are in
jdk8
openj9
x86-64_windows: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/4541/ (two test failures but unrelated to this change)
jdk11
hotspot
x86-64_windows: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/4542/

@lumpfish
Copy link
Contributor Author

lumpfish commented Nov 5, 2020

Fixes #86

@Mesbah-Alam
Copy link
Contributor

Could we please squash the commits into a single commit?

@Mesbah-Alam
Copy link
Contributor

Mesbah-Alam commented Nov 5, 2020

The PR looks good.

The Grinders above didn't really run the code added in this PR. It'd be conclusive to see a test where we have a "hang" and the procdump tool gets invoked successfully.

Running a simple grinder with the original failing test didn't give us the original "hang", as it's an intermittent issue.

So, I added a target for SampleOverrunProcess and ran it in grinder, and I do see the dump being created in the resultant zip.

Output from 1.CL.jvmdump.stdout:

[11:01:08] Dump 1 initiated: E:\workspace\Grinder\openjdk-tests\TKG\test_output_1604595588538\SampleOverrunProcess_0\20201105-105950-SampleOverrunProcess\results\java.exe_201105_110108.dmp
[11:01:08] Dump 1 writing: Estimated dump file size is 114 MB.
[11:01:08] Dump 1 complete: 114 MB written in 0.2 seconds
[11:01:08] Dump count reached.

I am not sure what exact Perl version (32 bit or 64 bit) was used in the build. It says:

"This is perl 5, version 30, subversion 3 (v5.30.3) built for x86_64-cygwin-threads-multi".

@lumpfish
Copy link
Contributor Author

lumpfish commented Nov 5, 2020

I would imagine 32 bit perl would say "built for x86_32-cygwin-threads-multi", and it would be included in a 32 bit cygwin installation.
In my local testing I used Strawberry perl (native Windows version of perl).
Presumably the use of 32 bit will diminish over time. Strawberry perl are still building a 32 bit version: http://strawberryperl.com/releases.html.

@lumpfish
Copy link
Contributor Author

lumpfish commented Nov 5, 2020

No reason not to squash. Using github's "Squash and merge" is easiest.

Copy link
Contributor

@Mesbah-Alam Mesbah-Alam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

3 participants