ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: IGNITE-2150: Debug.
Date Mon, 14 Dec 2015 08:43:50 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-2150 7881f5916 -> c3e865ca9


IGNITE-2150: Debug.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c3e865ca
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c3e865ca
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c3e865ca

Branch: refs/heads/ignite-2150
Commit: c3e865ca98c01af0be7a647ca8724c9ab04c0d7e
Parents: 7881f59
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Mon Dec 14 11:44:39 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Mon Dec 14 11:44:39 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/binary/BinaryWriterExImpl.java | 2 ++
 .../ignite/internal/binary/builder/BinaryBuilderSerializer.java    | 2 ++
 .../ignite/internal/binary/builder/BinaryObjectBuilderImpl.java    | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c3e865ca/modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryWriterExImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryWriterExImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryWriterExImpl.java
index e19ce1a..244c5e6 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryWriterExImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryWriterExImpl.java
@@ -1740,6 +1740,8 @@ public class BinaryWriterExImpl implements BinaryWriter, BinaryRawWriterEx,
Obje
         else {
             out.unsafeEnsure(1 + 4);
 
+            System.out.println("HANDLE (builder) [pos=" + out().position() + ", handle="
+ (pos - old) + ", obj=" + obj + ']');
+
             out.unsafeWriteByte(GridBinaryMarshaller.HANDLE);
             out.unsafeWriteInt(pos - old);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/c3e865ca/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryBuilderSerializer.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryBuilderSerializer.java
b/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryBuilderSerializer.java
index a095242..5491efd 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryBuilderSerializer.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryBuilderSerializer.java
@@ -92,6 +92,8 @@ class BinaryBuilderSerializer {
             else {
                 int handle = writer.out().position() - posInResArr;
 
+                System.out.println("HANDLE (builder) [pos=" + writer.out().position() + ",
handle=" + handle + ", objType=" + obj.typeName + ']');
+
                 writer.writeByte(GridBinaryMarshaller.HANDLE);
                 writer.writeInt(handle);
             }

http://git-wip-us.apache.org/repos/asf/ignite/blob/c3e865ca/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryObjectBuilderImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryObjectBuilderImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryObjectBuilderImpl.java
index 8353cdb..65901f3 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryObjectBuilderImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/binary/builder/BinaryObjectBuilderImpl.java
@@ -56,7 +56,7 @@ public class BinaryObjectBuilderImpl implements BinaryObjectBuilder {
     private final int typeId;
 
     /** May be null. */
-    private String typeName;
+    public String typeName;
 
     /** May be null. */
     private String clsNameToWrite;


Mime
View raw message