File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2015, 2017 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2015, 2019 , Oracle and/or its affiliates. All rights reserved.
33 */
44/*
55 * Licensed to the Apache Software Foundation (ASF) under one or more
4242 * @xerces.internal
4343 *
4444 * @since PR-DOM-Level-1-19980818.
45- * @LastModified: Oct 2017
45+ * @LastModified: May 2019
4646 */
4747public class DeferredDocumentImpl
4848 extends DocumentImpl
@@ -69,7 +69,7 @@ public class DeferredDocumentImpl
6969 // protected
7070
7171 /** Chunk shift. */
72- protected static final int CHUNK_SHIFT = 11 ; // 2^11 = 2k
72+ protected static final int CHUNK_SHIFT = 8 ; // 2^8 = 256
7373
7474 /** Chunk size. */
7575 protected static final int CHUNK_SIZE = (1 << CHUNK_SHIFT );
@@ -78,7 +78,7 @@ public class DeferredDocumentImpl
7878 protected static final int CHUNK_MASK = CHUNK_SIZE - 1 ;
7979
8080 /** Initial chunk size. */
81- protected static final int INITIAL_CHUNK_COUNT = (1 << (16 - CHUNK_SHIFT )); // 2^16 = 64k
81+ protected static final int INITIAL_CHUNK_COUNT = (1 << (13 - CHUNK_SHIFT )); // 32
8282
8383 //
8484 // Data
You can’t perform that action at this time.
0 commit comments