fastdebug vs jvmg
Fredrik Öhrström
oehrstroem at gmail.com
Wed Dec 5 11:22:08 PST 2012
2012/10/31 Jesper Wilhelmsson <jesper.wilhelmsson at oracle.com>:
> --enable-debug currently configures hotspot to build with the build target
> fastdebug. fastdebug isn't really fast since asserts are turned on, and it
> can't be used for debugging since the code is optimized, so the name is a
> bit misleading. Personally I always use jvmg when debugging and testing.
>
> I asked around the Stockholm office and it seems as most people here would
> prefer jvmg. It seems as jvmg is very slow on Mac so those who work on Mac
> only uses jvmg when debugging for real, not for regular testing, but
> otherwise fastdebug is rarely used here.
You can use --with-debug-level=slow to set jvmg.
Create a poll if you want to change --enable-debug to default to jvmg.
and if you have better suggestions for the names fast and slow.
//Fredrik
More information about the build-infra-dev
mailing list