Re: RFR: 8255072: [TESTBUG] com/sun/jdi/EATests.java should not fail if expected VMOutOfMemoryException is not thrown [v5]

2020-10-30 Thread Richard Reingruber
On Thu, 29 Oct 2020 15:34:58 GMT, Vladimir Kozlov  wrote:

> Good

Thanks for reviewing. Will integrate beginning of next week.

-

PR: https://git.openjdk.java.net/jdk/pull/775


Re: RFR: 8255072: [TESTBUG] com/sun/jdi/EATests.java should not fail if expected VMOutOfMemoryException is not thrown [v5]

2020-10-29 Thread Vladimir Kozlov
On Thu, 29 Oct 2020 14:53:54 GMT, Richard Reingruber  wrote:

>> The following test cases try to provoke VMOutOfMemoryException during object 
>> reallocation because of JVMTI PopFrame / ForceEarlyReturn:
>> 
>> EAPopFrameNotInlinedReallocFailure
>> EAPopInlinedMethodWithScalarReplacedObjectsReallocFailure
>> EAForceEarlyReturnOfInlinedMethodWithScalarReplacedObjectsReallocFailure
>> 
>> For ZGC (so far) this is not 100% reliable.
>> 
>> Just ignoring the runs where the expected OOME was not raised was not 
>> accepted.
>> 
>> Summary of the now accepted solution:
>> 
>> - The 3 problematic test cases are skipped if ZGC is selected.
>> 
>> - They are also skipped if no OOME during object reallocation can be 
>> expected because allocations are not eliminated.
>> 
>> - In consumeAllMemory, as a last step, empty LinkedList nodes are created 
>> without long array to fill up small blocks of free memory.
>> 
>> - EATests.java is removed from the problem list for ZGC.
>
> Richard Reingruber has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Replaced vm.jvmci with vm.graal.enabled in @requires clause.

Good

-

Marked as reviewed by kvn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/775


Re: RFR: 8255072: [TESTBUG] com/sun/jdi/EATests.java should not fail if expected VMOutOfMemoryException is not thrown [v5]

2020-10-29 Thread Richard Reingruber
> The following test cases try to provoke VMOutOfMemoryException during object 
> reallocation because of JVMTI PopFrame / ForceEarlyReturn:
> 
> EAPopFrameNotInlinedReallocFailure
> EAPopInlinedMethodWithScalarReplacedObjectsReallocFailure
> EAForceEarlyReturnOfInlinedMethodWithScalarReplacedObjectsReallocFailure
> 
> For ZGC (so far) this is not 100% reliable.
> 
> Just ignoring the runs where the expected OOME was not raised was not 
> accepted.
> 
> Summary of the now accepted solution:
> 
> - The 3 problematic test cases are skipped if ZGC is selected.
> 
> - They are also skipped if no OOME during object reallocation can be expected 
> because allocations are not eliminated.
> 
> - In consumeAllMemory, as a last step, empty LinkedList nodes are created 
> without long array to fill up small blocks of free memory.
> 
> - EATests.java is removed from the problem list for ZGC.

Richard Reingruber has updated the pull request incrementally with one 
additional commit since the last revision:

  Replaced vm.jvmci with vm.graal.enabled in @requires clause.

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/775/files
  - new: https://git.openjdk.java.net/jdk/pull/775/files/4676f1da..4e878e8e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk=775=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk=775=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/775.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/775/head:pull/775

PR: https://git.openjdk.java.net/jdk/pull/775