OpenJDK 64-Bit Server VM warning: increase O_BUFLEN in ostream.hpp -- output truncated

Andrew Haley aph at redhat.com
Wed Apr 8 14:59:09 UTC 2015


Hi Thomas,

OK, but I have no idea what you mean by "printing code should be
corrected".  Sure, it should be corrected, but do do what?  It seems a
bit lame that debugging printf can't print long strings.

Andrew.


On 04/08/2015 03:53 PM, Thomas Stüfe wrote:
> Hi Andrew,
> 
> This would increase stack requirements in error situations, especially when
> secondary signals occur during error reporting. Also, I think, there would
> be no safe value to use, because classpath can be arbitrarily long?
> 
> I think in this case, printing code should be corrected.
> 
> Regards, Thomas
> 
> 
> On Wed, Apr 8, 2015 at 4:44 PM, Andrew Haley <aph at redhat.com> wrote:
> 
>> I keep seeing this message:
>>
>> OpenJDK 64-Bit Server VM warning: increase O_BUFLEN in ostream.hpp --
>> output truncated
>>
>> It happens because classpath is this:
>>
>>
>> "/local/aarch64/dev/build/linux-aarch64-normal-server-slowdebug/jdk/modules/jdk.zipfs:/local/aarch64/dev/build/linux-aarch64-normal-server-slowdebug/jdk/modules/java.transaction:/local/aarch64/dev/build/linux-aarch64-normal-server-slowdebug/jdk/modules/java.desktop:/local/aarch64/dev/build/linux-aarch64-normal-serv..."
>> 4533 characters long.
>>
>> It's because of modules.
>>
>> Should we increase O_BUFLEN or remove the message?
>>
>> Andrew.
>>
> 



More information about the hotspot-dev mailing list