Clone Tools
Constraints: committers
Constraints: files
Constraints: dates
Configure JVM initial heap size

To enable some performance testing, this change will

allow configuration of JVM initial heap size. A new

environment variable will be read when the instance

starts. The variable is named JVM_INIT_HEAP_SIZE_MB.

The unit is megabytes. Setting the variable to any

value above 0 will cause SQL set the initial heap size

for the JVM.

This change does not effect the setting of the JVM

maximum heap size. As before, the maximum is set to

a hard-coded default, currently 512MB, unless the

variable JVM_MAX_HEAP_SIZE_MB is set. Setting this

variable to zero has the effect of not configuring

any maximum.

In contrast, to avoid setting any value for the JVM

initial heap size, one can simply not define the

variable JVM_INIT_HEAP_SIZE. The reason for this

inconsistency in how to use the variables is to

preserve default behavior.

So, for example, to setup the JVM to have no maximum

heap size, while having an initial heap size of 32MB,

one must set both variables, as shown here:



Change-Id: I4f503eda59f263a2762adb79b7d79ef158a3852a

Implements: blueprint jvm-inital-heap-config

Fixing DTM early commit response to reply at correct point in state_change_commit_helper and sending the normal response at normal commit reponse at the end, in req_end_complete.

Additional changes to set the early commit response default to FALSE

(will NOT reply early, done for correctness).

Changes to set the default JVM allocation sizes, DTM set to 2048, SQL

set to 512.

Removing delay in sqlci that was added to have tests pass that were

failing due to an error 73.

Change-Id: I6baf0ad261d17d1ad9c227f31c423a4f26049a28

  1. … 5 more files in changeset.
Code Drop Update - 5/23/14

Change-Id: If478e8857cbfa9652227af7ed83cd61dd075a889

  1. … 163 more files in changeset.
Initial code drop of Trafodion

    • -0
    • +432
  1. … 4886 more files in changeset.