RFR(L): 8059550: Test task: segment overflow w/ empty others
pavel.chistyakov at oracle.com
Wed Nov 19 17:25:53 UTC 2014
Thanks for review and suggestion!
On 19.11.2014 20:08, Vladimir Kozlov wrote:
> Tobias should look on this.
> My only concern is the same of a blob is ReservedCodeCacheSize/128
> which could be more then NonNmethod segment (5Mb). I would suggest to
> set ReservedCodeCacheSize on command lines to avoid it.
> On 11/18/14 5:47 AM, Pavel Chistyakov wrote:
>> 127 lines changed: 125 ins; 0 del; 2 mod;
>> Hi all,
>> please review the patch which adds new tests for Segmented Code Cache
>> Test tries to full code heaps using new WB API function
>> (allocateCodeBlob) added by 8059624 and checks that overflow
>> handling works properly for every code heap.
>> Also it checks that compilation is disabled on code cache/heap overflow.
>> Added new WB functions:
>> - getCompilationActivityMode() to get compilation mode value
>> (stop_compilation, run_compilation or shutdown_compilation)
>> - getCodeBlob to get blob object (instance of
>> sun.hotspot.code.CodeBlob class)
>> changes in product code:
>> - get_compilation_activity_mode() added to compileBroker
>> testing: locally
>> jbs: https://bugs.openjdk.java.net/browse/JDK-8059550
More information about the hotspot-compiler-dev