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 9133803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:33:00+00:00 2026-06-17T08:33:00+00:00

According to the Maven GWT Plugin docs , the default optimization level is -1.

  • 0

According to the Maven GWT Plugin docs, the default optimization level is -1. It is not clear to which optimization level this corresponds. So, does -1 mean that the code is optimized at some level between 0 and 9? Or is it something else entirely?

  • 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-17T08:33:01+00:00Added an answer on June 17, 2026 at 8:33 am

    GWT has 9 different optimization tricks from level 1 to 9 apart from the regular compiler level stuff. However we can opt out of these optimizations by setting it to 0. This is not recommended as commented in the code.

    You can probably pick up some more information from GWT source code in ArgHandlerOptimize.java

     @Override
      public String getPurpose() {
        return "Sets the optimization level used by the compiler.  0=none 9=maximum.";
      }
    

    From comments section of ArgHandlerOptimize.java

     * Set the optimization level from the command line.  For now, level 1 is the same
     * as draft compile, and level 9 is the same as the default (maximium optimization).
     * 
     * TODO(zundel): In theory, a level 0 should be possible, where all optimizers 
     * are eliminated for the fastest possible compile.  In practice, code generation 
     * depends on some optimizers being run.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to this issue , the maven-gae-plugin released an update and it took several
I'm trying to generate a compilation report from my maven-gwt project. According to this
According to the maven assembly plugin docs, relative directories are allowed, but .. doesn't
I needed to move some src/test/java to src/main/java according to this recommandation from maven-jar-plugin
I am using the Maven-Shade-Plugin to create a runnable Uber-jar. According to the last
I'm trying to use Maven Failsafe Plugin to run my functional/integration tests, according to
I have this Maven project built with the gwt-maven-archetype. While it runs perfectly with
I want to use maven integrated with eclipse to develop webapp according this tutorial:
I'm trying to run wro4j maven plugin according to the documentation I add the
I have a question about the Maven Release plugin. According to the plugin documentation,

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.