Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7509925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:04:15+00:00 2026-05-29T23:04:15+00:00

I installed fastdebug build of JDK 6 , and ran this command: java -XX:+PrintCFGToFile

  • 0

I installed fastdebug build of JDK 6, and ran this command:

java -XX:+PrintCFGToFile Test

but no file with printed information found… I tried it on both Linux and Windows operational systems, without any success. After giving up I built JDK from sources (OpenJDK 7 sources, Ubuntu), but no success, again the same, it prints "VM option '+PrintCFGToFile'" but no file created in the directory with class executed, nor in JDK bin directory… I looked for “output.cfg” on the file system, nothing found… I checked sources, and it seems that file really has name “output.cfg” (if I’m not wrong it is CFGPrinter)

What’s wrong? Should any additional option be specified? How and where to get this file with control flow graph information?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:04:18+00:00Added an answer on May 29, 2026 at 11:04 pm

    well, many thanks to OpenJDK mailing list, especially to Krystal Mok who unswered this question of mine, and not to leave this question unanswered here, and to share it with community:

    There are two JITs in HotSpot:
    1) C1 aka client JIT
    2) C2 aka server JIT
    since I used Ubuntu, HotSpot used C2 compilator, and PrintCFGToFile is applied to C1 only.

    You might want to turn on -XX:+TieredCompilation if you really want to see this flag working, on you’re current platform

    was an advice, so the solution is:

    java -XX:+PrintCFGToFile -XX:+TieredCompilation Test

    running it I get output.cfg file in the folder with class executed (as expected)

    original answer (and thread)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed ActiveReports from their site. The version was labeled as .NET 2.0 build
I installed subclipse in eclipse, but I get an error message Expected format '3'
Just installed the latest SDK for iPhone 2.1. When I go to File ->
Installed the IronPython tools for VS 2010 but it didn't associate the *.py files
Installed Visual Studio Web Developer 2010 Express from the ISO available from this page:
I installed PyScript to try it out but it just wont start. It only
I Installed Microsoft's Asp.net MVC 2 using the Web PI (on Windows XP) but
Having installed canvas from here http://www.rforge.net/canvas/files/ I try to plot: > canvas('test.js') > qplot(rnorm(100),
Installed SlikSvn on Window 2008 server Created Repository at c:\dia\svn\repos running this windows service
I installed iplots and rjava packages. When I do this library(iplots), I get the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.