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

  • SEARCH
  • Home
  • 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 8148413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:38:31+00:00 2026-06-06T14:38:31+00:00

When running a java program using the java command you can specify the verbose

  • 0

When running a java program using the java command you can specify the verbose option with -verbose which allows you to inspect when classes are loaded. For example:

java -verbose Test | grep "file:"
[Loaded Test from file:/Users... ]
[Loaded C1 from file:/Users... ]
[Loaded A1 from file:/Users... ]
[Loaded B1 from file:/Users...]
[Loaded C2 from file:/Users...]

Is there a way to get an indication of when the verification stage happens? Verification of a class doesn’t necessarily follow directly after loading it. For example something like this would be ideal:

java -verbose Test | grep "file:"
[Loaded Test from file:/Users... ]
[Loaded C1 from file:/Users... ]
[Loaded A1 from file:/Users... ]
[Loaded B1 from file:/Users...]
[Verified C1]
[Loaded C2 from file:/Users...]
[Verified C2]

etc

To ward of those “You dont need this”, “Why would you want to do this” answers. Its just out of pure interest and is still worthy of a question.

  • 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-06-06T14:38:31+00:00Added an answer on June 6, 2026 at 2:38 pm

    As @Antimony suggested, to see when classes are verified one needs to modify the source of the JVM being used before recompiling.

    Oracles HotSpot vm source already has numerous logging lines to indicate different stages of verification and they can be enabled by changing

    ClassVerifier::_verify_verbose;
    

    to true in

    /openjdk/hotspot/src/share/vm/classfile/verifier.cpp
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I now have a running Java program which only lacks of the final step,that
Say suppose I am running a java program through command line. And this program
I'm running a program in Java which performs a long process. Obviously this causes
Can anyone tell me why this c# console command not running on Java? I've
I'm using Eclipse to develop a Java program, and figured I'd add an option
i am using a java program which requires a lot of ram. ( Ideally
I'm trying to get command line input into a running java program that I
I have created a Java program which takes some command line arguments to run.
I'm running a java program that uses many vectors. I'm afraid my use of
I am having trouble running a Java program with Windows Powershell 2.0. Any help

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.