RFR(xs): 8199656: Make slow metaspace verifications switchable in debug builds
thomas.stuefe at gmail.com
Thu Mar 15 13:15:43 UTC 2018
Thank you Coleen.
On Thu, Mar 15, 2018 at 12:53 PM, <coleen.phillimore at oracle.com> wrote:
> This looks good. I think it's useful to have a VerifyMetaspace develop
> flag, since you are currently making improvements to metaspace. More
> things might go under this flag also.
> On 3/15/18 3:09 AM, Thomas Stüfe wrote:
>> Hi all,
>> may I please have reviews for this small rfe:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8199656
>> We have a number of useful metaspace verifications which are all switched
>> off via a const bool in code. This change makes these verifications
>> Note: the switch is develop because all the verifications are ASSERT only,
>> so it makes no sense to make it the switch diagnostic. If we want the
>> in product builds too, we need to revise the test code.
>> For the effect this has,
>> try ./hotspot/variant-server/libjvm/gtest/gtestLauncher.exe
>> -XX:-VerifyMetaspace -jdk:./images/jdk/
>> --gtest_filter=MetaspaceAllocationTest*. With verifications, runtime
>> triples in fastdebug.
>> Thanks and Kind Regards, Thomas
More information about the hotspot-runtime-dev