[9] RFR(S): 8051415: TypeTuple::make_domain() and TypeTuple::make_range() allocate too much memory
Zoltán Majó
zoltan.majo at oracle.com
Mon Aug 25 15:33:35 UTC 2014
Hi,
please review the following patch.
Bug: https://bugs.openjdk.java.net/browse/JDK-8051415
Problem: The methods TypeTuple::make_domain() and
TypeTuple::make_range() allocate too much memory for field_array. Both
methods allocate memory explicitly for TypeFunc::Parms; the fields()
method they use for allocation allocates memory for TypeFunc::Parms as well.
Solution: Change memory allocation in TypeTuple::make_domain() and
TypeTuple::make_range() to not allocate memory for TypeFunc::Parms.
Webrev: http://cr.openjdk.java.net/~zmajo/8051415/webrev.00/
Testing:
- JPRT
- JTREG
- CompileTheWorld rt.jar
Thank you and best regards,
Zoltan
More information about the hotspot-compiler-dev
mailing list