-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8252825: Add automated test for fix done in JDK-8218479 #30
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
Conversation
|
👋 Welcome back pbansal! A progress list of the required criteria for merging this PR into |
|
@pankaj-bansal The following label will be automatically applied to this pull request: When this pull request is ready to be reviewed, an RFR email will be sent to the corresponding mailing list. If you would like to change these labels, use the |
|
/reviewer add @mrserb |
|
@pankaj-bansal |
|
@pankaj-bansal This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there has been 1 commit pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge ➡️ To integrate this PR with the above commit message to the |
|
/reviewer remove @mrserb |
|
@pankaj-bansal |
|
/integrate |
|
@pankaj-bansal Since your change was applied there has been 1 commit pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 55c7e76. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
JVM-1889: Materialize phi and its inputs if one input is escaped
Similarly to AArch64 DC.ZVA, the RISC-V Zicboz [1] extension provides the cbo.zero [2] instruction that allows to zero out memory a cache-line at a time. This should be faster than storing zeroes 64bits at a time. [1] https://github.com/riscv/riscv-CMOs [2] https://github.com/riscv/riscv-CMOs/blob/master/cmobase/Zicboz.adoc#insns-cbo_zero
Verified by manually inserting an invalid opcode into a classfile.
Replaced an opcode with the 'cf' opcode, which is invalid. The opcodes
'cb'-'fd' are unassigned and reserved for future use.
Caused by: java.lang.VerifyError: Bad instruction: cf
Exception Details:
Location:
MediumHarvestChurn.main([Ljava/lang/String;)V @56: fast_fgetfield
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a03 32b8 0007 b600 0d3c bb00 1159 b700
0000010: 134e 1b9a 0006 a700 6a2d 1064 b200 1468
0000020: bc08 b600 1a57 a7ff ec3a 0403 3605 1505
0000030: 1020 a200 2803 3606 cf06 b200 20a2 0017
0000040: 2d15 05b2 0020 6815 0660 b600 2357 8406
0000050: 01a7 ffe7 8405 01a7 ffd7 b800 2706 b200
0000060: 2c68 bc08 4dbb 0011 59b7 0013 4e01 4db8
0000070: 0027 8401 ffb2 002f 1233 b600 35a7 ff95
0000080: b1
Exception Handler Table:
bci [25, 38] => handler: 41
Stackmap Table:
append_frame(@18,Integer,Top,Object[openjdk#17])
same_frame(@25)
same_locals_1_stack_item_frame(@41,Object[openjdk#30])
append_frame(@46,Object[openjdk#30],Integer)
append_frame(@56,Integer)
chop_frame(@84,1)
chop_frame(@90,1)
chop_frame(@128,1)
Verified by manually inserting an invalid opcode into a classfile.
Replaced an opcode with the 'cf' opcode, which is invalid. The opcodes
'cb'-'fd' are unassigned and reserved for future use.
Caused by: java.lang.VerifyError: Bad instruction: cf
Exception Details:
Location:
MediumHarvestChurn.main([Ljava/lang/String;)V @56: fast_fgetfield
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a03 32b8 0007 b600 0d3c bb00 1159 b700
0000010: 134e 1b9a 0006 a700 6a2d 1064 b200 1468
0000020: bc08 b600 1a57 a7ff ec3a 0403 3605 1505
0000030: 1020 a200 2803 3606 cf06 b200 20a2 0017
0000040: 2d15 05b2 0020 6815 0660 b600 2357 8406
0000050: 01a7 ffe7 8405 01a7 ffd7 b800 2706 b200
0000060: 2c68 bc08 4dbb 0011 59b7 0013 4e01 4db8
0000070: 0027 8401 ffb2 002f 1233 b600 35a7 ff95
0000080: b1
Exception Handler Table:
bci [25, 38] => handler: 41
Stackmap Table:
append_frame(@18,Integer,Top,Object[openjdk#17])
same_frame(@25)
same_locals_1_stack_item_frame(@41,Object[openjdk#30])
append_frame(@46,Object[openjdk#30],Integer)
append_frame(@56,Integer)
chop_frame(@84,1)
chop_frame(@90,1)
chop_frame(@128,1)
Verified by manually inserting an invalid opcode into a classfile.
Replaced an opcode with the 'cf' opcode, which is invalid. The opcodes
'cb'-'fd' are unassigned and reserved for future use.
Caused by: java.lang.VerifyError: Bad instruction: cf
Exception Details:
Location:
MediumHarvestChurn.main([Ljava/lang/String;)V @56: fast_fgetfield
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a03 32b8 0007 b600 0d3c bb00 1159 b700
0000010: 134e 1b9a 0006 a700 6a2d 1064 b200 1468
0000020: bc08 b600 1a57 a7ff ec3a 0403 3605 1505
0000030: 1020 a200 2803 3606 cf06 b200 20a2 0017
0000040: 2d15 05b2 0020 6815 0660 b600 2357 8406
0000050: 01a7 ffe7 8405 01a7 ffd7 b800 2706 b200
0000060: 2c68 bc08 4dbb 0011 59b7 0013 4e01 4db8
0000070: 0027 8401 ffb2 002f 1233 b600 35a7 ff95
0000080: b1
Exception Handler Table:
bci [25, 38] => handler: 41
Stackmap Table:
append_frame(@18,Integer,Top,Object[openjdk#17])
same_frame(@25)
same_locals_1_stack_item_frame(@41,Object[openjdk#30])
append_frame(@46,Object[openjdk#30],Integer)
append_frame(@56,Integer)
chop_frame(@84,1)
chop_frame(@90,1)
chop_frame(@128,1)
Verified by manually inserting an invalid opcode into a classfile.
Replaced an opcode with the 'cf' opcode, which is invalid. The opcodes
'cb'-'fd' are unassigned and reserved for future use.
Caused by: java.lang.VerifyError: Bad instruction: cf
Exception Details:
Location:
MediumHarvestChurn.main([Ljava/lang/String;)V @56: fast_fgetfield
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a03 32b8 0007 b600 0d3c bb00 1159 b700
0000010: 134e 1b9a 0006 a700 6a2d 1064 b200 1468
0000020: bc08 b600 1a57 a7ff ec3a 0403 3605 1505
0000030: 1020 a200 2803 3606 cf06 b200 20a2 0017
0000040: 2d15 05b2 0020 6815 0660 b600 2357 8406
0000050: 01a7 ffe7 8405 01a7 ffd7 b800 2706 b200
0000060: 2c68 bc08 4dbb 0011 59b7 0013 4e01 4db8
0000070: 0027 8401 ffb2 002f 1233 b600 35a7 ff95
0000080: b1
Exception Handler Table:
bci [25, 38] => handler: 41
Stackmap Table:
append_frame(@18,Integer,Top,Object[openjdk#17])
same_frame(@25)
same_locals_1_stack_item_frame(@41,Object[openjdk#30])
append_frame(@46,Object[openjdk#30],Integer)
append_frame(@56,Integer)
chop_frame(@84,1)
chop_frame(@90,1)
chop_frame(@128,1)
…rriers Carriers update for matchers-experiment
Under JDK-8218479, fix was made to correct the rendering of JTextPane as the background color of JTextPane was similar to Panel color, so it looked like the JTextPane has transparent background. No automated test was written to verify the results. Current bug is to write the automated tests for the same.
The test fails without the fix done in JDK-8218479 and pass with the fix. I have run the tests multiple times in mach5. Links in JBS.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/30/head:pull/30$ git checkout pull/30