341 #else |
341 #else |
342 #define trueInTiered false |
342 #define trueInTiered false |
343 #define falseInTiered true |
343 #define falseInTiered true |
344 #endif |
344 #endif |
345 |
345 |
|
346 #ifdef JAVASE_EMBEDDED |
|
347 #define falseInEmbedded false |
|
348 #else |
|
349 #define falseInEmbedded true |
|
350 #endif |
|
351 |
346 // develop flags are settable / visible only during development and are constant in the PRODUCT version |
352 // develop flags are settable / visible only during development and are constant in the PRODUCT version |
347 // product flags are always settable / visible |
353 // product flags are always settable / visible |
348 // notproduct flags are settable / visible only during development and are not declared in the PRODUCT version |
354 // notproduct flags are settable / visible only during development and are not declared in the PRODUCT version |
349 |
355 |
350 // A flag must be declared with one of the following types: |
356 // A flag must be declared with one of the following types: |
3609 diagnostic(bool, UseNewCode3, false, \ |
3615 diagnostic(bool, UseNewCode3, false, \ |
3610 "Testing Only: Use the new version while testing") \ |
3616 "Testing Only: Use the new version while testing") \ |
3611 \ |
3617 \ |
3612 /* flags for performance data collection */ \ |
3618 /* flags for performance data collection */ \ |
3613 \ |
3619 \ |
3614 NOT_EMBEDDED(product(bool, UsePerfData, true, \ |
3620 product(bool, UsePerfData, falseInEmbedded, \ |
3615 "Flag to disable jvmstat instrumentation for performance testing" \ |
3621 "Flag to disable jvmstat instrumentation for performance testing" \ |
3616 "and problem isolation purposes.")) \ |
3622 "and problem isolation purposes.") \ |
3617 \ |
|
3618 EMBEDDED_ONLY(product(bool, UsePerfData, false, \ |
|
3619 "Flag to disable jvmstat instrumentation for performance testing" \ |
|
3620 "and problem isolation purposes.")) \ |
|
3621 \ |
3623 \ |
3622 product(bool, PerfDataSaveToFile, false, \ |
3624 product(bool, PerfDataSaveToFile, false, \ |
3623 "Save PerfData memory to hsperfdata_<pid> file on exit") \ |
3625 "Save PerfData memory to hsperfdata_<pid> file on exit") \ |
3624 \ |
3626 \ |
3625 product(ccstr, PerfDataSaveFile, NULL, \ |
3627 product(ccstr, PerfDataSaveFile, NULL, \ |