JDK-8024803 : move Flag::_type to Flag::_flags
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2013-09-13
  • Updated: 2014-02-10
  • Resolved: 2014-02-10
Related Reports
Relates :  
Description
Currently Flag::_type is a const char* but we could easily encode the type in the _flags.  This would save some space.
Comments
It's not worth the time and effort. Unclear how much space it would save and whether it's in r/w or r/o part of the binary.
10-02-2014

These are command line flags in globals.hpp. How many of these are in product mode? Would encoding and decoding the name of the flag increase lookup time? What sort of encoding would you use?
07-02-2014

We can put it into HS25 but we don't have to.
17-09-2013

Will this be fixed for hs25? Or later?
17-09-2013