• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Valhalla
  4. Minimal Value Types and Valhalla value types command line options

Page History

Versions Compared

Old Version 6

changes.mady.by.user Paul Sandoz

Saved on Jul 07, 2017

compared with

New Version 7

changes.mady.by.user Paul Sandoz

Saved on Jul 07, 2017

  • Previous Change: Difference between versions 5 and 6
  • Next Change: Difference between versions 7 and 8
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • -XX:EnableMVT
    Boolean value, default value is `false`
    If true enable support for minimal value types with a value capable class and an associated derived value type.
  • -XX:EnableValhalla
    Boolean value, default value is `false`
    If true enable support for "valhalla" value types, which in contrast to MVT supports direct value types in conjunction with byte code generation or with the javac flag "enableValueTypes".
  • -XX:ValueTypePassFieldsAsArgs
    Boolean value, default value is `true`
    Pass each value type field as an argument to a method call instead of a value type reference
  • -XX:ValueTypeReturnedAsFields
    Boolean value, default value is `true`
    Return value type fields instead of a value type reference
  • -XX:ValueArrayFlatten
    Boolean value, default value is `true`
    Flatten arrays of values, if possible
  • -XX:ValueArrayElemMaxFlatSize
    Integer value, default is -1
    Max size for flattening an array of values, < 0 means no limit
  • -XX:ValueArrayElemMaxFlatOops
    Integer value, default is 4
    Max number of embedded object references in value type to flatten in an array, < 0 means no limit 
  • -XX:ValueArrayAtomicAccess
    Boolean value, default value is `false`
    Enable atomic access to values in an array

 

To determine if there are unwanted allocations (boxing) see the flags:

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 249, "requestCorrelationId": "236f4cabe801d57f"}