javaobjectinterfacetm.cpp

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[TRAFODION-2821] Trafodion core code base needs to be thread safe

TMLIB JNI interaction was not thread safe causing T2 driver application

to dump core at times.

Cleaned up TMLIB JNI interaction and added lock mechanism such that JNI

methods are initialized by one thread in a thread safe manner.

  1. … 4 more files in changeset.
[TRAFODION-2566] Reduce the virtual memory allocated in Trafodion processes with JDK1.8

Added two new configurable JVM options -XX:CompressedClassSpaceSize=128m and

-XX:MaxMetaSpaceSize=128m.

You can modify the default value of these options using environment variables

JVM_COMPRESSED_CLASS_SPACE_SIZE and JVM_METASPACE_SIZE respectively.

With this change the virtual memory of any SQL processes and tm is reduced by 1GB.

In JDK1.8 this space is used in lieu of permanent generation. Hence, I reduced the

default Java Objects Max heap size for SQL master, ESP and arkcmp processes to 256 MB from 512MB.

The udrserv process continues to have 512MB of java objects space.

  1. … 3 more files in changeset.
additional changes to address review feedback.

  1. … 3 more files in changeset.
address review comments.

  1. … 6 more files in changeset.
[TRAFODION-2414] enhance 8616 commit conflict error message to include tx conflict details.

  1. … 31 more files in changeset.
[TRAFODION-1988] Better java exception handling in the java/JNI layer in TM

The following problems are fixed:

The loaded classes reference are made global to avoid the class reference from gc-ed

Introduced push/pop frame concepts to avoid memory growth usually observed with

many JNI/java transitions

Logged the errors via log4cxx mechanism instead of stdout

Possibly fixes the tm core dumped in obscure way at times

  1. … 3 more files in changeset.
[TRAFODION-1988] Better java exception handling in the java/JNI layer

Changes to fix the regression failure

  1. … 1 more file in changeset.
[TRAFODION-1988] Better java exception handling in the java/JNI layer

Fixes as per the review comments

TM exception logging was at times dumping TM core because log4cxx

infrastructure was not initialized early in the process startup.

Initialized it as early as it can be done.

  1. … 4 more files in changeset.
[TRAFODION-1988] Better java exception handling in the java/JNI layer

Fix for the check-PR failure in seabase test suite

[TRAFODION-1988] Better java exception handling in the java/JNI layer

The stack trace of the exception displayed from JNI side now contains the

cause of the exception displayed in a nested way.

  1. … 3 more files in changeset.
[TRAFODION-1988] Better java exception handling in the java/JNI layer of TM The exception logged didn't have the type of exception. The output of Exception.toString() was concatenated after it was released and hence it was getting junk characters

[TRAFODION-1988] Better java exception handling in the java/JNI layer of Trafodion - Part3

The focus is to ensure that the execption seen at the JNI of TM libs are logged

via log4cxx.

These exceptions should be visible in tm_<node_id>.log files. These messages are also

visible in stdout_dtm_<node_id> at $MY_SQROOT/sql/scripts directory.

  1. … 6 more files in changeset.
[TRAFODION-28] Part 3 of changes to update license text

This check-in updates the license text in the remaining

subdirectories of the core directory. Still to do are a

few files in the core directory itself (I forgot these),

and the other non-core diretories in incubator-trafodion.

  1. … 2188 more files in changeset.
Move core into subdir to combine repos

    • -0
    • +352
    ./javaobjectinterfacetm.cpp
  1. … 10768 more files in changeset.
Move core into subdir to combine repos

    • -0
    • +339
    ./javaobjectinterfacetm.cpp
  1. … 10622 more files in changeset.
Move core into subdir to combine repos

Use: git log --follow -- <file>

to view file history thru renames.

    • -0
    • +352
    ./javaobjectinterfacetm.cpp
  1. … 10837 more files in changeset.