Description
I stumbled upon a test that we have (gc/TestBigObj.java) that has an object with 64k fields and that is scalar replaceable. Doing so puts a lot of strain on the compiler. I ran a few test and benchmarks and the maximum number of fields in scalar-replaced object that I've seen was 59. I think it should be reasonable to set a limit on the number of fields to 512.
Attachments
Issue Links
- duplicates
-
JDK-8324171 assert failed: Live Node limit exceeded limit
- Closed
- relates to
-
JDK-8324205 Excessive C2 compilation time when parsing allocation of large object
- Open