RFR: 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method

Leonid Mesnik leonid.mesnik at oracle.com
Tue May 20 15:19:58 UTC 2014


Peter

   35  * @run main/othervm -Xmx4000m -javaagent:agent.jar GetObjectSizeOverflowAgent

I think that "-Xmx4000m" cause test failure for 32-bit VM. It would be 
better to use another 1 process builder.
Also I think you need to add your test into need_jdk because you use 
jar. Could you please check this with embedded team.

Leonid

On 20.05.2014 19:02, Peter Allwin wrote:
> Hello!
>
> Please review this simple fix for an integer overflow in JVMTI GetObjectSize().
>
> webrev: http://cr.openjdk.java.net/~allwin/8027230/webrev.00/
> cr: https://bugs.openjdk.java.net/browse/JDK-8027230
>
>
> Testing:
> 	New regression test
> 	nsk.quick-jvmti.testlist
>
> Thanks!
> /peter



More information about the serviceability-dev mailing list