--- old/src/hotspot/share/runtime/globals.hpp 2017-10-31 09:39:53.624997117 -0400 +++ new/src/hotspot/share/runtime/globals.hpp 2017-10-31 09:39:53.420996105 -0400 @@ -4115,7 +4115,7 @@ product(size_t, BigValueTypeThreshold, 4 * BytesPerLong, \ "Max value type size for buffering") \ \ - product(intx, ValueTypesBufferMaxMemory, 0, \ + product(intx, ValueTypesBufferMaxMemory, 128, \ "Max memory used for value types buffers (in pages)") \ \ product(bool, ValueTypesThreadLocalRecycling, true, \ @@ -4127,6 +4127,9 @@ product(int, MinimumVTBufferChunkPerFrame, 2, \ "Minimum number of VT buffer chunk allowed per frame") \ \ + product(bool, ZapVTBufferChunks, trueInDebug, \ + "Zap VTBufferChunk memory when recycled") \ + \ develop(bool, StressValueTypeReturnedAsFields, false, \ "stress return of fields instead of a value type reference") \